add if to icon_cmd
This commit is contained in:
parent
d1b6b8bf66
commit
5345c73c57
@ -112,7 +112,8 @@ class CompilerHelper(Options):
|
||||
cmd_list.append(f"--product-version={self.product_version}")
|
||||
cmd_list.append(f"--file-version={self.file_version}")
|
||||
|
||||
cmd_list.append(icon_cmd)
|
||||
if icon_cmd:
|
||||
cmd_list.append(icon_cmd)
|
||||
|
||||
cmd_list += [f"--include-data-dir={src}={dst}" for src, dst in self.include_data_dir]
|
||||
cmd_list += [f"--include-package={package}" for package in self.include_packages]
|
||||
|
Loading…
Reference in New Issue
Block a user