feat(desktop): allow silent install and only user-wide scope (#26253)
This commit is contained in:
@@ -66,8 +66,8 @@ const getBase = (): Configuration => ({
|
|||||||
verifyUpdateCodeSignature: false,
|
verifyUpdateCodeSignature: false,
|
||||||
},
|
},
|
||||||
nsis: {
|
nsis: {
|
||||||
oneClick: false,
|
oneClick: true,
|
||||||
allowToChangeInstallationDirectory: true,
|
perMachine: false,
|
||||||
installerIcon: `resources/icons/icon.ico`,
|
installerIcon: `resources/icons/icon.ico`,
|
||||||
installerHeaderIcon: `resources/icons/icon.ico`,
|
installerHeaderIcon: `resources/icons/icon.ico`,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ async function installUpdate() {
|
|||||||
version: downloadedUpdateVersion,
|
version: downloadedUpdateVersion,
|
||||||
})
|
})
|
||||||
await killSidecar()
|
await killSidecar()
|
||||||
autoUpdater.quitAndInstall()
|
autoUpdater.quitAndInstall(true, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkForUpdates(alertOnFail: boolean) {
|
async function checkForUpdates(alertOnFail: boolean) {
|
||||||
|
|||||||
Reference in New Issue
Block a user