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,
|
||||
show: false,
|
||||
});
|
||||
if (isPlatform('mac') && wasAutoLaunched) {
|
||||
app.dock.hide();
|
||||
}
|
||||
if (!wasAutoLaunched) {
|
||||
splash.maximize();
|
||||
splash.show();
|
||||
|
|
Loading…
Reference in a new issue