Add --no-updater flag

Summary: Provide a `--no-updater` option that disables the in-app auto updater when passed.

Reviewed By: jknoxville

Differential Revision: D13713919

fbshipit-source-id: 49a647105fea1efa23f653e4a6ed452b3489879b
This commit is contained in:
Pascal Hartig
2019-01-18 07:58:27 -08:00
committed by Facebook Github Bot
parent 87f64c4535
commit 82f4d4ad95
5 changed files with 26 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ function launchElectron({bundleURL, electronURL}) {
const args = [
path.join(STATIC_DIR, 'index.js'),
'--remote-debugging-port=9222',
...process.argv,
];
const proc = child.spawn(electronBinary, args, {