wanglaoye 1 year ago
parent
commit
d823b332aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/windows/updaterwin.js

+ 2 - 2
src/main/windows/updaterwin.js

@@ -10,7 +10,7 @@ const loadURL = isdev
 const iconSrc = __static + "/images/icon.ico";
 // 服务器地址
 const server = 'http://testadmin.xklr.net:8601'
-const url = isdev ? __dirname : `${server}/appupdatedoc/`
+const url = isdev ? __dirname : `${server}/appUpdateDoctor/`
 // console.log(15, url)
 let updateWin = null;
 // 自动检测更新
@@ -61,7 +61,7 @@ export default function updatewin() {
             if (!option.url) {
                 updateWin.webContents.send('state1', 5)
             } else {
-                autoUpdater.setFeedURL(option.url + '/appupdatedoc/')
+                autoUpdater.setFeedURL(option.url + '/appUpdateSign/')
                 autoUpdater.checkForUpdates()
             }
         })