Update main.js

This commit is contained in:
Gilles Lazures 2025-05-01 21:16:45 +02:00
parent fffbbbae08
commit 62667702a0

View File

@ -18,8 +18,6 @@ const socket = io({
port: config.api.websockets.base.port
})
const { ChildProcess } = require("child_process")
let launcherWindow, auth, gamePlayable = false, launchProcess
async function createLauncherWindow() {
@ -44,7 +42,8 @@ async function createLauncherWindow() {
nodeIntegration: false,
contextIsolation: true,
preload: path.join(__dirname, "modules", "preload.js"),
webviewTag: true
webviewTag: true,
devTools: false
}
})
if (os.platform() == "darwin") {