mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Removed Cyberpunk | Spicy | Vilbrequin Theme, Info Fix, Fix Progress Bar. Centralized Ressources
This commit is contained in:
6
main.js
6
main.js
@@ -20,7 +20,7 @@ if (!gotLock) {
|
||||
});
|
||||
}
|
||||
|
||||
app.disableHardwareAcceleration(); // safe sur GPU old / soucis Electron
|
||||
app.disableHardwareAcceleration();
|
||||
|
||||
const logsFolderPath = logDir;
|
||||
const defaultDownloadPath = path.join(os.homedir(), "Downloads", "Freedom Loader");
|
||||
@@ -110,7 +110,9 @@ app.whenReady().then(async () => {
|
||||
logSessionStart();
|
||||
logger.info("App prête, démarrage du serveur Express...");
|
||||
|
||||
const expressServer = require("./server/server.js");
|
||||
const serverPath = path.join(__dirname, "server", "server.js");
|
||||
const expressServer = require(serverPath);
|
||||
|
||||
try {
|
||||
await expressServer.startServer();
|
||||
logger.info("Serveur Express démarré");
|
||||
|
||||
Reference in New Issue
Block a user