diff options
author | Paul Rouget <me@paulrouget.com> | 2016-08-03 06:19:53 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-08-03 06:19:59 +0200 |
commit | 663f8530cfc1464e11ece49131949c7e798ef7f2 (patch) | |
tree | 07594bf01dafc083161a84fd5316056910aa4b66 /python/servo/package_commands.py | |
parent | b2f69f363574d5dea3cb96d4ef00c1d4e56bdd63 (diff) | |
download | servo-663f8530cfc1464e11ece49131949c7e798ef7f2.tar.gz servo-663f8530cfc1464e11ece49131949c7e798ef7f2.zip |
Enable multiprocess and sandbox
Enable multiprocess and sandbox for Mac and Linux when running
browserhtml.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 1bd91e6eae1..2513b2b5ad1 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -146,7 +146,7 @@ class PackageCommands(CommandBase): print("Writing run-servo") bhtml_path = path.join('${0%/*}/../Resources', browserhtml_path.split('/')[-1], 'out', 'index.html') runservo = os.open(dir_to_app + '/Contents/MacOS/run-servo', os.O_WRONLY | os.O_CREAT, int("0755", 8)) - os.write(runservo, '#!/bin/bash\nexec ${0%/*}/servo ' + bhtml_path) + os.write(runservo, '#!/bin/bash\nexec ${0%/*}/servo -M -S ' + bhtml_path) os.close(runservo) print("Creating dmg") @@ -220,7 +220,7 @@ class PackageCommands(CommandBase): delete(dir_to_package + '/build/' + f) print("Writing runservo.sh") # TODO: deduplicate this arg list from post_build_commands - servo_args = ['-w', '-b', + servo_args = ['-w', '-b', '-M', '-S' '--pref', 'dom.mozbrowser.enabled', '--pref', 'dom.forcetouch.enabled', '--pref', 'shell.builtin-key-shortcuts.enabled=false', |