Disable auto-updater (#951)

Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/951

Reviewed By: jknoxville, mweststrate

Differential Revision: D20766973

fbshipit-source-id: 93bf659d8944c0cca1b513235aa43ffc32b7ada8
This commit is contained in:
Pascal Hartig
2020-03-31 09:13:32 -07:00
committed by Facebook GitHub Bot
parent bf32297ad9
commit 22b3e89ce5
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ test('config is decoded from env with defaults', () => {
pluginPaths: [],
lastWindowPosition: undefined,
launcherMsg: undefined,
updaterEnabled: true,
updaterEnabled: false,
screenCapturePath: undefined,
launcherEnabled: true,
});

View File

@@ -36,8 +36,8 @@ export default function config(): ProcessConfig {
pluginPaths: json.pluginPaths || [],
lastWindowPosition: json.lastWindowPosition,
launcherMsg: json.launcherMsg,
updaterEnabled:
typeof json.updaterEnabled === 'boolean' ? json.updaterEnabled : true,
// TODO(T64836070): The built-in updater is disabled as we don't have a strategy for signing prod builds right now.
updaterEnabled: false,
screenCapturePath: json.screenCapturePath,
launcherEnabled:
typeof json.launcherEnabled === 'boolean' ? json.launcherEnabled : true,