Compare commits

..

No commits in common. "5e6af34fe50b094ce5ff8dc7d8b177018e64fe38" and "09d53987b492914b0f163d87ee4ec4f8eef8e4ba" have entirely different histories.

4 changed files with 10 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

View File

@ -6,7 +6,7 @@
], ],
"buildDependenciesFromSource": true, "buildDependenciesFromSource": true,
"compression": "normal", "compression": "normal",
"productName": "湖北襄阳四中教研平台", "productName": "湖北襄阳四中-教研平台",
"publish": [ "publish": [
{ {
"provider": "generic", "provider": "generic",
@ -17,7 +17,7 @@
"!*.log" "!*.log"
], ],
"win": { "win": {
"icon": "build/start-xy.ico", "icon": "build/start.ico",
"requestedExecutionLevel": "highestAvailable", "requestedExecutionLevel": "highestAvailable",
"target": [ "target": [
{ {
@ -42,14 +42,14 @@
], ],
"nsis": { "nsis": {
"oneClick": false, "oneClick": false,
"installerIcon": "build/start-xy.ico", "installerIcon": "build/install.ico",
"uninstallerIcon": "build/start-xy.ico", "uninstallerIcon": "build/install.ico",
"installerHeaderIcon": "build/start-xy.ico", "installerHeaderIcon": "build/install.ico",
"allowToChangeInstallationDirectory": true, "allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true, "createDesktopShortcut": true,
"createStartMenuShortcut": true, "createStartMenuShortcut": true,
"deleteAppDataOnUninstall": true, "deleteAppDataOnUninstall": true,
"shortcutName": "湖北襄阳四中教研平台", "shortcutName": "湖北襄阳四中-教研平台",
"allowElevation": true, "allowElevation": true,
"perMachine": true "perMachine": true
} }

View File

@ -627,9 +627,9 @@ function updateHandle() {
updateAva: '检测到新版本,正在下载……', updateAva: '检测到新版本,正在下载……',
updateNotAva: '已经是最新版本,不用更新' updateNotAva: '已经是最新版本,不用更新'
} }
autoUpdater.setFeedURL('https://meeting-api.23544.com/meeting/update') autoUpdater.setFeedURL(updateJs.getUpdateUrl(env))
autoUpdater.autoDownload = ture // 不自动下载安装包 autoUpdater.autoDownload = false // 不自动下载安装包
autoUpdater.autoInstallOnAppQuit = ture // 不自动安装 autoUpdater.autoInstallOnAppQuit = false // 不自动安装
autoUpdater.on('error', function (error) { autoUpdater.on('error', function (error) {
sendUpdateMessage(message.error) sendUpdateMessage(message.error)
}) })

View File

@ -15,7 +15,7 @@
"preview": "vite preview", "preview": "vite preview",
"build:dev-win": "vite build --mode development & electron-builder -w --config=./config/build.json", "build:dev-win": "vite build --mode development & electron-builder -w --config=./config/build.json",
"build:prod-win": "vite build --mode production & electron-builder -w --config=./config/build.json", "build:prod-win": "vite build --mode production & electron-builder -w --config=./config/build.json",
"build:prod-win-xy": "vite build --mode xy & electron-builder -w --config=./config/xy.json" "build:xy-win": "vite build --mode xy & electron-builder -w --config=./config/xy.json"
}, },
"agora_electron": { "agora_electron": {
"platform": "win32", "platform": "win32",