hide mac dock icon on auto-launch
This commit is contained in:
parent
29e8bd9dcb
commit
dd93f578e1
|
@ -31,6 +31,9 @@ export async function createWindow(): Promise<BrowserWindow> {
|
||||||
transparent: true,
|
transparent: true,
|
||||||
show: false,
|
show: false,
|
||||||
});
|
});
|
||||||
|
if (isPlatform('mac') && wasAutoLaunched) {
|
||||||
|
app.dock.hide();
|
||||||
|
}
|
||||||
if (!wasAutoLaunched) {
|
if (!wasAutoLaunched) {
|
||||||
splash.maximize();
|
splash.maximize();
|
||||||
splash.show();
|
splash.show();
|
||||||
|
|
Loading…
Reference in a new issue