diff --git a/app/main.js b/app/main.js index 2389dd1..aa1dac3 100644 --- a/app/main.js +++ b/app/main.js @@ -11,7 +11,7 @@ let win; function createWindow() { // Create the browser window. win = new BrowserWindow({ - width: 800, + width: 800, height: 600, webPreferences: { nodeIntegration: true @@ -20,8 +20,8 @@ function createWindow() { // and load the index.html of the app. // http://h5tools.client.jy/index.html - win.loadURL("http://127.0.0.1:12346/index.html"); - + // win.loadURL("http://127.0.0.1:12346/index.html"); + win.loadFile('../index.html') // Open the DevTools. // win.webContents.openDevTools();