diff options
author | UK992 <urbankrajnc92@gmail.com> | 2016-12-27 21:37:16 +0100 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2016-12-29 19:19:03 +0100 |
commit | 01c7ac785b557304b1008799785f13a725a347ce (patch) | |
tree | a0255277b0878cf8f8d1a783e99dcad8187b2df0 /python/servo/package_commands.py | |
parent | 456900b4efdefdf933928b6cdfc3ada6dbb68f94 (diff) | |
download | servo-01c7ac785b557304b1008799785f13a725a347ce.tar.gz servo-01c7ac785b557304b1008799785f13a725a347ce.zip |
Package: Set `shell.homepage` to browserhtml
Closes #12154
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 505db555847..c16d89202a5 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -221,16 +221,6 @@ class PackageCommands(CommandBase): credits_file.write(template.render(version=version)) delete(template_path) - print("Writing run-servo") - bhtml_path = path.join('${0%/*}', '..', 'Resources', 'browserhtml', 'index.html') - runservo = os.open( - path.join(content_dir, 'run-servo'), - os.O_WRONLY | os.O_CREAT, - int("0755", 8) - ) - os.write(runservo, '#!/bin/bash\nexec ${0%/*}/servo ' + bhtml_path) - os.close(runservo) - print("Creating dmg") os.symlink('/Applications', path.join(dir_to_dmg, 'Applications')) dmg_path = path.join(dir_to_build, "servo-tech-demo.dmg") @@ -324,14 +314,6 @@ class PackageCommands(CommandBase): change_prefs(dir_to_resources, "linux") - print("Writing runservo.sh") - servo_args = ['-b', - path.join('./browserhtml', 'index.html')] - - runservo = os.open(path.join(dir_to_temp, 'runservo.sh'), os.O_WRONLY | os.O_CREAT, int("0755", 8)) - os.write(runservo, "#!/usr/bin/env sh\n./servo " + ' '.join(servo_args)) - os.close(runservo) - print("Creating tarball") tar_path = path.join(path.dirname(binary_path), 'servo-tech-demo.tar.gz') |