mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4372 - Always retrieve latest registry channel (#1982)
This commit is contained in:
@@ -35,7 +35,6 @@ export class AutoUpdate {
|
|||||||
private autoUpdateTrigger: AutoUpdateTrigger | undefined = undefined;
|
private autoUpdateTrigger: AutoUpdateTrigger | undefined = undefined;
|
||||||
private finalAutoUpdateChannel: string | undefined = undefined;
|
private finalAutoUpdateChannel: string | undefined = undefined;
|
||||||
private installVariant: string | undefined = undefined;
|
private installVariant: string | undefined = undefined;
|
||||||
private shouldRetrieveRegistry: boolean = true;
|
|
||||||
private channelConfigLocation: ChannelConfigLocation =
|
private channelConfigLocation: ChannelConfigLocation =
|
||||||
ChannelConfigLocation.LOCALFILE;
|
ChannelConfigLocation.LOCALFILE;
|
||||||
|
|
||||||
@@ -248,10 +247,7 @@ export class AutoUpdate {
|
|||||||
: autoUpdateChannel;
|
: autoUpdateChannel;
|
||||||
this.installVariant = installVariant;
|
this.installVariant = installVariant;
|
||||||
if (isWindowsOS) {
|
if (isWindowsOS) {
|
||||||
if (this.shouldRetrieveRegistry) {
|
await retrieveWindowsRegistry();
|
||||||
await retrieveWindowsRegistry();
|
|
||||||
this.shouldRetrieveRegistry = false;
|
|
||||||
}
|
|
||||||
const registryAutoUpdate = RegistryStore.getRegistry();
|
const registryAutoUpdate = RegistryStore.getRegistry();
|
||||||
const identifiedChannelFromRegistry = [
|
const identifiedChannelFromRegistry = [
|
||||||
EChannelRegistry.BETA,
|
EChannelRegistry.BETA,
|
||||||
|
|||||||
Reference in New Issue
Block a user