Skip to content

Commit 0668f94

Browse files
KonoTyranBerserker66
authored andcommitted
- change minecraft clients icon.
1 parent 953ccc5 commit 0668f94

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

data/mcicon.ico

2.62 KB
Binary file not shown.

setup.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
print("Outputting to: " + sbuildfolder)
1919

2020
icon = os.path.join("data", "icon.ico")
21+
mcicon = os.path.join("data", "mcicon.ico")
2122

2223
if os.path.exists("X:/pw.txt"):
2324
print("Using signtool")
@@ -71,20 +72,20 @@ def remove_sprites_from_folder(folder):
7172

7273
scripts = {
7374
# Core
74-
"MultiServer.py": ("ArchipelagoServer", False),
75-
"Generate.py": ("ArchipelagoGenerate", False),
75+
"MultiServer.py": ("ArchipelagoServer", False, icon),
76+
"Generate.py": ("ArchipelagoGenerate", False, icon),
7677
# LttP
77-
"LttPClient.py": ("ArchipelagoLttPClient", True),
78-
"LttPAdjuster.py": ("ArchipelagoLttPAdjuster", True),
78+
"LttPClient.py": ("ArchipelagoLttPClient", True, icon),
79+
"LttPAdjuster.py": ("ArchipelagoLttPAdjuster", True, icon),
7980
# Factorio
80-
"FactorioClient.py": ("ArchipelagoFactorioClient", True),
81+
"FactorioClient.py": ("ArchipelagoFactorioClient", True, icon),
8182
# Minecraft
82-
"MinecraftClient.py": ("ArchipelagoMinecraftClient", False),
83+
"MinecraftClient.py": ("ArchipelagoMinecraftClient", False, mcicon),
8384
}
8485

8586
exes = []
8687

87-
for script, (scriptname, gui) in scripts.items():
88+
for script, (scriptname, gui, icon) in scripts.items():
8889
exes.append(cx_Freeze.Executable(
8990
script=script,
9091
target_name=scriptname + ("" if sys.platform == "linux" else ".exe"),

0 commit comments

Comments
 (0)