4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-25 06:49:51 +01:00

Fix resize icon appear even if it's impossible

This commit is contained in:
Quentin Legot 2021-10-13 18:17:36 +02:00
parent 4d7905eb10
commit 2c1a14cfce

View File

@ -17,11 +17,8 @@ let win = null
function createWindow () { function createWindow () {
win = new BrowserWindow({ win = new BrowserWindow({
width: 1000, width: 1000,
minWidth: 1000,
maxWidth: 1000,
height: 600, height: 600,
minHeight: 600, resizable: false,
maxHeight: 600,
icon: iconPath, icon: iconPath,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,