mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Fix start minimized
This commit is contained in:
parent
b1cb66e587
commit
a90b348443
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ export function registerIpc(): void {
|
|||
mainWindow.setPosition(xValue, yValue);
|
||||
console.log("[Window state manager] Not maximized.");
|
||||
}
|
||||
if (await getConfig("startMinimized")) {
|
||||
mainWindow.hide();
|
||||
}
|
||||
});
|
||||
ipcMain.on("restart", () => {
|
||||
app.relaunch();
|
||||
|
|
Loading…
Reference in a new issue