Electron 22.3.3 (#7389)

* electron 22.3.3.

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix typo

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix crash on quit

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix sessionData app path

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Fix errors after merging new feature

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Jari KolehmainenandSebastian Malton authored and GitHub committed 2023-03-21 11:07:27 -04:00
1 parent 0f1f030a06
commit a920f2c057
11 files changed
+89 -308

No files matched your search

@@ -34,6 +34,7 @@ const setupAppPathsInjectable = getInjectable({
const appDataPath = getElectronAppPath("appData");
setElectronAppPath("userData", joinPaths(appDataPath, appName));
setElectronAppPath("sessionData", getElectronAppPath("userData"));
const appPaths = pipeline(
pathNames,
@@ -8,7 +8,11 @@ import { BrowserWindow } from "electron";
const resolveSystemProxyWindowInjectable = getInjectable({
id: "resolve-system-proxy-window",
instantiate: () => {
return new BrowserWindow({ show: false, paintWhenInitiallyHidden: false });
const window = new BrowserWindow({ show: false });
window.hide();
return window;
},
causesSideEffects: true,
});