IDE updater bugfixes (#846)

* IDE updater assorted bugfix

- add linux AppImage target
- fix hardcoded if condition that causes to always show the update dialog
- fix redundant test build version
- recalculate sha512 after notarization on macOS

* boost notarization speed

* recalculate artifacts hash
This commit is contained in:
Alberto Iannaccone
2022-02-21 21:40:46 +00:00
committed by GitHub
parent 9b1f15def8
commit 0a87fd00f3
9 changed files with 120 additions and 61 deletions

View File

@@ -197,15 +197,9 @@ function git(command) {
// to work correctly.
// For more information: https://www.electron.build/auto-update
function getChannelFile(platform) {
let currentChannel = '';
if (isNightly) {
currentChannel = 'beta';
} else if (isRelease) {
let currentChannel = 'beta';
if (isRelease) {
currentChannel = 'latest';
} else {
// We're not creating a nightly build nor releasing
// a new version, no need for a channel file.
return '';
}
return (
currentChannel +