From 1c4b70cceddaca166730e9840ed3a34c3b41c352 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 27 Nov 2020 15:07:08 +0800 Subject: [PATCH] update --- package.json | 4 ++-- src/main/index.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6cb253d..a39fcd6 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/main/index.js b/src/main/index.js index 4e5bf80..45b12fc 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -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.