lilei 3 years ago
parent
commit
dc61d2363d
4 changed files with 9 additions and 11 deletions
  1. BIN
      public/iscm.ico
  2. BIN
      public/iscm.png
  3. 5 5
      src/background.js
  4. 4 6
      vue.config.js

BIN
public/iscm.ico


BIN
public/iscm.png


+ 5 - 5
src/background.js

@@ -37,13 +37,13 @@ async function createWindow() {
     // Load the index.html when not in development
     // win.loadURL('app://./index.html')
 	// 预发布地址
-	// win.loadURL('http://ocs-admin.360arrow.com.cn/')
-	// win.loadURL('http://qpls-md.360arrow.com.cn/')
+	// win.loadURL('http://p.ocs.360arrow.com/')
+	win.loadURL('http://p.iscm.360arrow.com/')
 	// 生产地址
-	// win.loadURL('http://ocs-admin.360arrow.com/')
-	// win.loadURL('http://qpls-md.360arrow.com/')
+	// win.loadURL('https://ocs.360arrow.com/')
+	// win.loadURL('https://iscm.360arrow.com/')
 	// 开发地址
-	win.loadURL('http://localhost:8000/')
+	// win.loadURL('http://localhost:8000/')
   }
   // 在开发环境和生产环境均可通过快捷键打开devTools
   globalShortcut.register('CommandOrControl+Shift+i', function () {

+ 4 - 6
vue.config.js

@@ -22,16 +22,14 @@ module.exports = {
       electronBuilder: {
           builderOptions: {
               win: {
-                  icon: './public/app.ico'
+                  icon: './public/iscm.ico'
               },
               mac: {
-                  icon: './public/app.png'
+                  icon: './public/iscm.png'
               },
 			  // productName: '箭冠运营中心系统',
-			  // productName: '箭冠运营中心系统-pre',
-			  // productName: '箭冠汽配连锁系统',
-			  // productName: '箭冠汽配连锁系统-pre',
-			  productName: '箭冠系统本地开发版',
+			  productName: 'iSCM智慧供应链系统',
+			  // productName: '箭冠系统本地开发版',
 			  nsis: {
 				  "oneClick": false, // 一键安装
 				  "allowToChangeInstallationDirectory": true, // 允许修改安装目录