mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add Check-For-Updates in menu and some notifications (#4437)
This commit is contained in:
1 parent
7ce4a87ac8
commit
f0274d08a4
5 files changed
+53
-19
No files matched your search
@@ -37,6 +37,7 @@ function getBuildChannel(): string {
|
||||
case "rc":
|
||||
return preRelease;
|
||||
case undefined:
|
||||
case "latest":
|
||||
return "latest"; // needed because electron-updater does not take build information into account when resolving if update is available
|
||||
default:
|
||||
throw new Error(`invalid pre-release ${preRelease}`);
|
||||
|
||||
Reference in new issue
Block a user