ZaiZai 1 năm trước cách đây
mục cha
commit
6dc1478fdf
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 3 3
      electron-builder.yml
  2. 2 2
      src/renderer/src/App.vue

+ 3 - 3
electron-builder.yml

@@ -14,7 +14,7 @@ win:
     executableName: 档案脱机存档
     requestedExecutionLevel: 'requireAdministrator'
 nsis:
-    artifactName: 档案脱机存档-${version}-安装包.${ext}
+    artifactName: 档案脱机存档-安装包.${ext}
     shortcutName: ${productName}
     uninstallDisplayName: 卸载${productName}
     createDesktopShortcut: always
@@ -27,7 +27,7 @@ mac:
         -   NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
     notarize: false
 dmg:
-    artifactName: 档案脱机存档-${version}-安装包.${ext}
+    artifactName: 档案脱机存档-安装包.${ext}
 linux:
     target:
         - AppImage
@@ -36,7 +36,7 @@ linux:
     maintainer: hczc.hcxxy.com
     category: Utility
 appImage:
-    artifactName: 档案脱机存档-${version}-安装包.${ext}
+    artifactName: 档案脱机存档-安装包.${ext}
 npmRebuild: false
 publish:
     provider: generic

+ 2 - 2
src/renderer/src/App.vue

@@ -46,8 +46,8 @@ const getCheckForUpdates = async () => {
     //platform:arm64 x64,arch:darwin win32
     console.log('当前版本:', config.version)
     console.log('platform-arch:', window.api.platform, window.api.arch)
-    //const http = 'https://archives.hczcxx.cn'
-    const http = 'http://192.168.0.109:5175'
+    const http = 'https://archives.hczcxx.cn'
+    //const http = 'http://192.168.0.109:5175'
     const url = `${http}/local-app.json?time=${new Date().getTime()}`
     const { code, data } = await window.electron.ipcRenderer.invoke('require', { url: url })
     if (code !== 200) return