unknown 4 роки тому
джерело
коміт
1c4b70cced
2 змінених файлів з 3 додано та 5 видалено
  1. +2
    -2
      package.json
  2. +1
    -3
      src/main/index.js

+ 2
- 2
package.json Переглянути файл

@@ -5,11 +5,11 @@
"main": "src/main/index.js", "main": "src/main/index.js",
"scripts": { "scripts": {
"electron": "electron ./src/main/index.js", "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": { "repository": {
"type": "git", "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": [ "keywords": [
"locking", "locking",


+ 1
- 3
src/main/index.js Переглянути файл

@@ -25,10 +25,8 @@ function createWindow() {
}) })
// and load the index.html of the app. // and load the index.html of the app.
// mainWindow.loadFile('./dist/index.html') // 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://localhost:8081');
// mainWindow.loadURL('http://10.240.33.229:8081');
// 隐藏菜单栏 // 隐藏菜单栏
mainWindow.setMenuBarVisibility(false); mainWindow.setMenuBarVisibility(false);
// Open the DevTools. // Open the DevTools.


Завантаження…
Відмінити
Зберегти