diff --git a/main.js b/main.js index fb2045f..763913b 100644 --- a/main.js +++ b/main.js @@ -48,7 +48,7 @@ else function createWindow() { - win = new BrowserWindow({ width: 1080, height: 720 }); + win = new BrowserWindow({ width: 1080, height: 720, webPreferences: { webSecurity: false } }); win.loadFile("dist/html/index.html"); win.setMenu(null); win.webContents.openDevTools(); @@ -68,4 +68,4 @@ function handleArgs(arg) var store = new Store("account"); store.set("steam", token); } -} \ No newline at end of file +}