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

View File

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

View File

@ -15,7 +15,7 @@
"preview": "vite preview",
"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-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": {
"platform": "win32",