fixed icon not showing properly

This commit is contained in:
Faraphel 2023-03-18 12:01:27 +01:00
parent ebfa80096b
commit daaf00b71d
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ window = GameWindow(
)
# Change l'icône de cette fenêtre
try: window.set_icon(pyglet.image.load(path_image / "/icon/icon.png"))
try: window.set_icon(pyglet.image.load(path_image / "icon/icon.png"))
except: pass # NOQA E722
window.set_minimum_size(720, 480)

View file

@ -19,7 +19,7 @@ setup(
executables=[
Executable(
"main.pyw",
icon=path_image / "/icon/icon.ico",
icon=path_image / "icon/icon.ico",
base="win32gui",
target_name="Bataille Navale.exe",
shortcut_name="Bataille Navale",