add remove other icon on other platform
This commit is contained in:
parent
d85a173d00
commit
bb547ec49c
@ -55,6 +55,15 @@ def gen_pyglet_no_follow_import() -> list:
|
|||||||
def main(config: raw_config_type) -> nuitka_config_type:
|
def main(config: raw_config_type) -> nuitka_config_type:
|
||||||
print("debug", config)
|
print("debug", config)
|
||||||
config = config["cli"]
|
config = config["cli"]
|
||||||
|
if platform.system() == "Darwin":
|
||||||
|
config.pop("windows-icon-from-ico")
|
||||||
|
config.pop("linux-icon")
|
||||||
|
elif platform.system() == "Linux":
|
||||||
|
config.pop("windows-icon-from-ico")
|
||||||
|
config.pop("macos-app-icon")
|
||||||
|
elif platform.system() == "Windows":
|
||||||
|
config.pop("linux-icon")
|
||||||
|
config.pop("macos-app-icon")
|
||||||
|
|
||||||
config["file-version"] = str(build_version)
|
config["file-version"] = str(build_version)
|
||||||
config["product-version"] = str(sdk_version)
|
config["product-version"] = str(sdk_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user