From 22b3e89ce5f72ea990d727bb3af85e10c1e7c7bb Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 31 Mar 2020 09:13:32 -0700 Subject: [PATCH] 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 --- desktop/app/src/utils/__tests__/processConfig.node.js | 2 +- desktop/app/src/utils/processConfig.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop/app/src/utils/__tests__/processConfig.node.js b/desktop/app/src/utils/__tests__/processConfig.node.js index 42f1cc381..40fb22db3 100644 --- a/desktop/app/src/utils/__tests__/processConfig.node.js +++ b/desktop/app/src/utils/__tests__/processConfig.node.js @@ -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, }); diff --git a/desktop/app/src/utils/processConfig.tsx b/desktop/app/src/utils/processConfig.tsx index 2d2bc1dc7..a3d0d6e9c 100644 --- a/desktop/app/src/utils/processConfig.tsx +++ b/desktop/app/src/utils/processConfig.tsx @@ -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,