Update main.js
This commit is contained in:
parent
d6fa5b69ce
commit
48c5fd4ead
3
main.js
3
main.js
@ -47,7 +47,7 @@ async function createLauncherWindow() {
|
||||
contextIsolation: true,
|
||||
preload: path.join(__dirname, "modules", "preload.js"),
|
||||
webviewTag: true,
|
||||
devTools: true
|
||||
devTools: false
|
||||
}
|
||||
})
|
||||
if (os.platform() == "darwin") {
|
||||
@ -339,7 +339,6 @@ async function launchGame(restartGame) {
|
||||
})
|
||||
launcher.on("data", (log) => {
|
||||
if (sendToRenderer) {
|
||||
console.log("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
|
||||
launcherWindow.webContents.send("Response<game::launched>")
|
||||
sendToRenderer = false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user