Auto Update GitHub

This commit is contained in:
MasterAcnolo
2025-11-12 15:33:07 +01:00
parent 793bb79d76
commit bb8cf54bf9
4 changed files with 96 additions and 21 deletions

View File

@@ -3,6 +3,7 @@ const { app, BrowserWindow, ipcMain, dialog, Menu, shell } = require("electron")
const path = require("path");
const os = require("os");
const { logger, logSessionStart, logSessionEnd, logDir } = require("./server/logger");
const { initAutoUpdater } = require("./server/autoupdate.js");
app.disableHardwareAcceleration(); // safe sur GPU old / soucis Electron
@@ -105,6 +106,7 @@ app.whenReady().then(async () => {
startRPC();
await createWindow();
initAutoUpdater(mainWindow);
setupMenu();
} catch (err) {
logger.error("Erreur serveur ou fenêtre :", err);