Disables auto-download updates on Linux

This commit is contained in:
Josh Perez 2021-08-20 17:41:58 -04:00 committed by GitHub
parent 0e2885a5a6
commit 353fea5d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 9 deletions

View file

@ -58,3 +58,6 @@ export const getTitleBarVisibility = (): TitleBarVisibility =>
export const isSystemTraySupported = (appVersion: string): boolean =>
// We eventually want to support Linux in production.
OS.isWindows() || (OS.isLinux() && !isProduction(appVersion));
export const isAutoDownloadUpdatesSupported = (): boolean =>
OS.isWindows() || OS.isMacOS();