Update TypeScript to 4.4.2
This commit is contained in:
parent
853e27e9eb
commit
a43abe628a
10 changed files with 21 additions and 462 deletions
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2019-2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { get as getFromConfig } from 'config';
|
||||
import config from 'config';
|
||||
import { BrowserWindow } from 'electron';
|
||||
|
||||
import { UpdaterInterface } from './common';
|
||||
|
@ -57,8 +57,6 @@ export async function force(): Promise<void> {
|
|||
|
||||
function autoUpdateDisabled() {
|
||||
return (
|
||||
process.platform === 'linux' ||
|
||||
process.mas ||
|
||||
!getFromConfig('updatesEnabled')
|
||||
process.platform === 'linux' || process.mas || !config.get('updatesEnabled')
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue