This commit is contained in:
parent
ccc20c4aab
commit
c9a5ebd7d8
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
|
|
@ -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.ico",
|
"icon": "build/start-xy.ico",
|
||||||
"requestedExecutionLevel": "highestAvailable",
|
"requestedExecutionLevel": "highestAvailable",
|
||||||
"target": [
|
"target": [
|
||||||
{
|
{
|
||||||
|
|
@ -42,14 +42,14 @@
|
||||||
],
|
],
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"oneClick": false,
|
"oneClick": false,
|
||||||
"installerIcon": "build/install.ico",
|
"installerIcon": "build/start-xy.ico",
|
||||||
"uninstallerIcon": "build/install.ico",
|
"uninstallerIcon": "build/start-xy.ico",
|
||||||
"installerHeaderIcon": "build/install.ico",
|
"installerHeaderIcon": "build/start-xy.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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
main.js
4
main.js
|
|
@ -627,8 +627,8 @@ function updateHandle() {
|
||||||
updateNotAva: '已经是最新版本,不用更新'
|
updateNotAva: '已经是最新版本,不用更新'
|
||||||
}
|
}
|
||||||
autoUpdater.setFeedURL('https://meeting-api.23544.com/meeting/update')
|
autoUpdater.setFeedURL('https://meeting-api.23544.com/meeting/update')
|
||||||
autoUpdater.autoDownload = false // 不自动下载安装包
|
autoUpdater.autoDownload = ture // 不自动下载安装包
|
||||||
autoUpdater.autoInstallOnAppQuit = false // 不自动安装
|
autoUpdater.autoInstallOnAppQuit = ture // 不自动安装
|
||||||
autoUpdater.on('error', function (error) {
|
autoUpdater.on('error', function (error) {
|
||||||
sendUpdateMessage(message.error)
|
sendUpdateMessage(message.error)
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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:xy-win": "vite build --mode xy & electron-builder -w --config=./config/xy.json"
|
"build:prod-win-xy": "vite build --mode xy & electron-builder -w --config=./config/xy.json"
|
||||||
},
|
},
|
||||||
"agora_electron": {
|
"agora_electron": {
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue