From d856a3bf3ffb508d075492e298f0a8191dbd29ec Mon Sep 17 00:00:00 2001 From: Simon Hong Date: Mon, 5 Nov 2018 21:03:05 +0900 Subject: [PATCH] Add --do-not-launch-chrome to prevent launching browser at first --- build_omaha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_omaha.py b/build_omaha.py index c58cae8..734abfc 100644 --- a/build_omaha.py +++ b/build_omaha.py @@ -34,7 +34,7 @@ def PrepareStandalone(args, omaha_dir): newdata = filedata.replace("APP_GUID", args.guid[0]) newdata = newdata.replace("BRAVE_INSTALLER_EXE", args.brave_installer_exe[0]) - newdata = newdata.replace("INSTALL_SWITCH", args.install_switch[0]) + newdata = newdata.replace("INSTALL_SWITCH", '--do-not-launch-chrome ' + args.install_switch[0]) target_manifest_file = args.guid[0] + '.gup' target_manifest_path = os.path.join(omaha_dir, 'omaha', 'standalone', 'manifests', target_manifest_file)