From 4e0d00630122e3d6d6537bb238ddaec406e67705 Mon Sep 17 00:00:00 2001 From: zyrouge Date: Mon, 27 Nov 2023 12:46:37 +0530 Subject: [PATCH] refactor: disable always on top --- src/shared/browserWinProperties.ts | 3 +-- src/updater/main.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/browserWinProperties.ts b/src/shared/browserWinProperties.ts index b190697..fb8b22a 100644 --- a/src/shared/browserWinProperties.ts +++ b/src/shared/browserWinProperties.ts @@ -13,6 +13,5 @@ export const SplashProps: BrowserWindowConstructorOptions = { width: 300, center: true, resizable: false, - maximizable: false, - alwaysOnTop: true + maximizable: false }; diff --git a/src/updater/main.ts b/src/updater/main.ts index b84081c..10934e6 100644 --- a/src/updater/main.ts +++ b/src/updater/main.ts @@ -103,7 +103,6 @@ function openNewUpdateWindow() { const win = new BrowserWindow({ width: 500, autoHideMenuBar: true, - alwaysOnTop: true, webPreferences: { preload: join(__dirname, "updaterPreload.js"), nodeIntegration: false,