Fix for dev builds

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-10-13 14:08:53 -04:00
1 parent 674e33c885
commit 9b68a88ff9
1 file changed
+1 -1
+1 -1
View File
@@ -272,7 +272,7 @@ const updateChannels = new Map([
label: "Alpha"
}],
]);
const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0].toString();
const defaultUpdateChannel = new SemVer(getAppVersion()).prerelease[0]?.toString() || "latest";
const updateChannel: PreferenceDescription<string> = {
fromStore(val) {