1.0.1 Commit

This commit is contained in:
MasterAcnolo
2025-07-01 15:16:17 +02:00
parent 10cefdba19
commit 0ffc1af218
10 changed files with 76 additions and 9 deletions

11
main.js
View File

@@ -24,17 +24,22 @@ let mainWindow;
async function createWindow() {
logger.info("Creation de la fenetre...");
if (mainWindow) {
logger.warn("La fenetre existe deja, pas de nouvelle creation");
return;
}
mainWindow = new BrowserWindow({
width: 1000,
height: 700,
title: "Freedom Loader",
width: 750,
height: 800,
minWidth: 750,
minHeight: 800,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
},
// titleBarStyle: 'hidden',
});
try {
@@ -71,4 +76,4 @@ app.on("window-all-closed", () => {
app.on("before-quit", () => {
logSessionEnd();
});
});