⬆️🧑🏫🪫 Upgrade Electron (#120) * ⬆️🧑🏫🪫 Upgrade Electron * Upgrade electron-log and fix broken things * node 16 * node 18 * globalShortcut can only be called when the app is ready * Remove unused event listeners * use before-quit instead of will-quit * handle ws errors * revert globalShortcut.unregister changes * when agent exit with SIGTERM and the code is null dont send it to the renderer * Removing access to the main window and views when quitting to prevent a crash * upgrade to electron 30.0.0 * globalShortcut.unregister should happen only if the app is ready * Check if webContents has not been destroyed and only then send the message * set mainWindow to null when quitting * remove unnecessary packages * send authentication event directly from the main process to the loadmill view * remove path-browserify package as well * increase version + upgrade loadmill/agent * dont send a message to renderer if agent was killed externally * upgrade loadmill agent * upgrade loadmill agent version --------- Co-authored-by: Gilad Gur Andelman <[email protected]> Co-authored-by: Shira Nagen <[email protected]> Co-authored-by: Shira Nagen <[email protected]>