Add icon to servo.exe

This commit is contained in:
UK992 2018-03-16 19:54:19 +01:00
parent 1ae5715309
commit 13ce5c239c
7 changed files with 33 additions and 9 deletions

View file

@ -354,9 +354,6 @@ class MachCommands(CommandBase):
if status == 0:
if sys.platform == "win32":
servo_exe_dir = path.join(base_path, "debug" if dev else "release")
# On windows, copy in our manifest
shutil.copy(path.join(self.get_top_dir(), "components", "servo", "servo.exe.manifest"),
servo_exe_dir)
msvc_x64 = "64" if "x86_64" in (target or host_triple()) else ""
# on msvc builds, use editbin to change the subsystem to windows, but only

View file

@ -317,7 +317,6 @@ class PackageCommands(CommandBase):
dir_to_resources = path.join(dir_to_temp_servo, 'resources')
shutil.copytree(path.join(dir_to_root, 'resources'), dir_to_resources)
shutil.copy(binary_path, dir_to_temp_servo)
shutil.copy("{}.manifest".format(binary_path), dir_to_temp_servo)
copy_windows_dependencies(target_dir, dir_to_temp_servo)
change_prefs(dir_to_resources, "windows")