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