mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
SDA-4235 - Add missing check for betaAutoUpdateChannelEnabled (#1977)
This commit is contained in:
parent
f4585e0173
commit
0be4d0e2fb
@ -228,10 +228,12 @@ export class AutoUpdate {
|
||||
};
|
||||
|
||||
private setAutoUpdateChannel = async (): Promise<void> => {
|
||||
const { autoUpdateChannel, installVariant } = config.getConfigFields([
|
||||
'autoUpdateChannel',
|
||||
'installVariant',
|
||||
]);
|
||||
const { autoUpdateChannel, installVariant, betaAutoUpdateChannelEnabled } =
|
||||
config.getConfigFields([
|
||||
'autoUpdateChannel',
|
||||
'installVariant',
|
||||
'betaAutoUpdateChannelEnabled',
|
||||
]);
|
||||
|
||||
const cc = config.getFilteredCloudConfigFields([
|
||||
'betaAutoUpdateChannelEnabled',
|
||||
@ -241,7 +243,9 @@ export class AutoUpdate {
|
||||
? ChannelConfigLocation.ACP
|
||||
: ChannelConfigLocation.LOCALFILE;
|
||||
|
||||
this.finalAutoUpdateChannel = autoUpdateChannel;
|
||||
this.finalAutoUpdateChannel = betaAutoUpdateChannelEnabled
|
||||
? 'beta'
|
||||
: autoUpdateChannel;
|
||||
this.installVariant = installVariant;
|
||||
if (isWindowsOS) {
|
||||
if (this.shouldRetrieveRegistry) {
|
||||
|
Loading…
Reference in New Issue
Block a user