改为加载本地index文件

This commit is contained in:
zhl 2020-08-21 11:25:36 +08:00
parent b49fb14e91
commit ea6a5481ea

View File

@ -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();