Update main.js
This commit is contained in:
parent
fffbbbae08
commit
62667702a0
5
main.js
5
main.js
@ -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") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user