Pass on launcherEnabled flag

Summary:
This is a bit embarrassing. It seems like I never wired this up which is
why the update indicator keeps coming up even if the app was started
by the Launcher.

This actually makes sure that we proxy the yargs flag through to
`processConfig`.

Reviewed By: jknoxville

Differential Revision: D17341896

fbshipit-source-id: 73602e2035c26fb0d03e853a4e94065af3986757
This commit is contained in:
Pascal Hartig
2019-09-12 08:09:21 -07:00
committed by Facebook Github Bot
parent 2da06587ba
commit c0cffe1240

View File

@@ -48,6 +48,7 @@ module.exports = function(argv) {
config = {
...config,
updaterEnabled: argv.updater,
launcherEnabled: argv.launcher,
launcherMsg: argv.launcherMsg,
};