unknown před 4 roky
rodič
revize
1c4b70cced
2 změnil soubory, kde provedl 3 přidání a 5 odebrání
  1. +2
    -2
      package.json
  2. +1
    -3
      src/main/index.js

+ 2
- 2
package.json Zobrazit soubor

@@ -5,11 +5,11 @@
"main": "src/main/index.js",
"scripts": {
"electron": "electron ./src/main/index.js",
"package": "electron-packager . --platform=win32 --arch=x64 --out ./electron_dist"
"package-windows": "electron-packager . --platform=win32 --arch=x64 --out ./electron_dist"
},
"repository": {
"type": "git",
"url": "http://47.104.91.134:3000/yiyun-fe/LOCKING-CLIENT.git"
"url": "http://www.lockingos.org:3000/yiyun-fe/LOCKING-CLIENT.git"
},
"keywords": [
"locking",


+ 1
- 3
src/main/index.js Zobrazit soubor

@@ -25,10 +25,8 @@ function createWindow() {
})
// and load the index.html of the app.
// mainWindow.loadFile('./dist/index.html')
// mainWindow.loadURL('http://47.104.91.134:9000');
mainWindow.loadURL('http://47.104.91.134:9000', { "extraHeaders": "pragma: no-cache\n" });
mainWindow.loadURL('http://www.lockingos.org:9000', { "extraHeaders": "pragma: no-cache\n" });
// mainWindow.loadURL('http://localhost:8081');
// mainWindow.loadURL('http://10.240.33.229:8081');
// 隐藏菜单栏
mainWindow.setMenuBarVisibility(false);
// Open the DevTools.


Načítá se…
Zrušit
Uložit