diff --git a/src/createWindow.ts b/src/createWindow.ts index f9efc21..7e37357 100644 --- a/src/createWindow.ts +++ b/src/createWindow.ts @@ -90,21 +90,20 @@ interface WindowProps { export function createSplashScreenWindow(props?: WindowProps): BrowserWindow { const url = props?.url || `${baseUrl}/desktopApp/auth`; - const width = 480; - const height = 640; - const window = createBaseWindow({ url, constructorOptions: { frame: false, + resizable: false, minimizable: false, maximizable: false, fullscreen: false, - minWidth: width, - minHeight: height, }, }); + const width = 480; + const height = 640; + const bounds = { ...store.getSplashScreenWindowBounds(), width,