add if to icon_cmd

This commit is contained in:
shenjack 2023-06-10 16:25:47 +08:00
parent 00e753a500
commit 8aca038cf6

View File

@ -112,6 +112,7 @@ class CompilerHelper(Options):
cmd_list.append(f"--product-version={self.product_version}")
cmd_list.append(f"--file-version={self.file_version}")
if icon_cmd:
cmd_list.append(icon_cmd)
cmd_list += [f"--include-data-dir={src}={dst}" for src, dst in self.include_data_dir]