mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix crash on quit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
caf97297eb
commit
f63ce7b8b1
@ -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,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user