1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

default update channel is none

This commit is contained in:
JoelTrain 2022-05-25 15:18:32 -05:00
parent 050ec8db45
commit ef27b85047
No known key found for this signature in database
GPG Key ID: E7720A2908E42F0A

View File

@ -301,6 +301,9 @@ export interface UpdateChannelInfo {
}
export const updateChannels = readonly(new Map<string, UpdateChannelInfo>([
["none", {
label: "Do Not Update",
}],
["latest", {
label: "Stable",
}],
@ -311,7 +314,8 @@ export const updateChannels = readonly(new Map<string, UpdateChannelInfo>([
label: "Alpha",
}],
]));
export const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0]?.toString() || "latest";
// export const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0]?.toString() || "latest";
export const defaultUpdateChannel = "none";
const updateChannel: PreferenceDescription<string> = {
fromStore(val) {