|
18 | 18 | print("Outputting to: " + sbuildfolder)
|
19 | 19 |
|
20 | 20 | icon = os.path.join("data", "icon.ico")
|
| 21 | +mcicon = os.path.join("data", "mcicon.ico") |
21 | 22 |
|
22 | 23 | if os.path.exists("X:/pw.txt"):
|
23 | 24 | print("Using signtool")
|
@@ -71,20 +72,20 @@ def remove_sprites_from_folder(folder):
|
71 | 72 |
|
72 | 73 | scripts = {
|
73 | 74 | # Core
|
74 |
| - "MultiServer.py": ("ArchipelagoServer", False), |
75 |
| - "Generate.py": ("ArchipelagoGenerate", False), |
| 75 | + "MultiServer.py": ("ArchipelagoServer", False, icon), |
| 76 | + "Generate.py": ("ArchipelagoGenerate", False, icon), |
76 | 77 | # LttP
|
77 |
| - "LttPClient.py": ("ArchipelagoLttPClient", True), |
78 |
| - "LttPAdjuster.py": ("ArchipelagoLttPAdjuster", True), |
| 78 | + "LttPClient.py": ("ArchipelagoLttPClient", True, icon), |
| 79 | + "LttPAdjuster.py": ("ArchipelagoLttPAdjuster", True, icon), |
79 | 80 | # Factorio
|
80 |
| - "FactorioClient.py": ("ArchipelagoFactorioClient", True), |
| 81 | + "FactorioClient.py": ("ArchipelagoFactorioClient", True, icon), |
81 | 82 | # Minecraft
|
82 |
| - "MinecraftClient.py": ("ArchipelagoMinecraftClient", False), |
| 83 | + "MinecraftClient.py": ("ArchipelagoMinecraftClient", False, mcicon), |
83 | 84 | }
|
84 | 85 |
|
85 | 86 | exes = []
|
86 | 87 |
|
87 |
| -for script, (scriptname, gui) in scripts.items(): |
| 88 | +for script, (scriptname, gui, icon) in scripts.items(): |
88 | 89 | exes.append(cx_Freeze.Executable(
|
89 | 90 | script=script,
|
90 | 91 | target_name=scriptname + ("" if sys.platform == "linux" else ".exe"),
|
|
0 commit comments