This commit is contained in:
Hachi-R 2024-10-30 20:00:50 -03:00
parent f585e343d9
commit 0ecd27d4d5

View File

@ -137,7 +137,10 @@ export class WindowManager {
if (!app.isPackaged) WindowManager.mainWindow?.webContents.openDevTools();
WindowManager.mainWindow?.show();
if (process.argv.includes("--hide") || process.argv.includes("--hidden")) {
if (
process.argv.includes("--hide") ||
process.argv.includes("--hidden")
) {
WindowManager.mainWindow?.hide();
}
});