Skip to content

Commit

Permalink
style: rework icon
Browse files Browse the repository at this point in the history
  • Loading branch information
u8slvn committed Aug 25, 2024
1 parent 3e80c27 commit 446c970
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Binary file removed images/icon-48.png
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def build_pyinstaller_args(
logger.info(f"Output exe filename: {output_filename}")
build_args += ["-n", output_filename]

logger.info(f"Output file icon: {ASSETS_PATH.joinpath('icon-256.ico')}")
build_args += ["--icon", f"{ASSETS_PATH.joinpath('icon-256.ico')}"]
logger.info(f"Output file icon: {ASSETS_PATH.joinpath('icon-42.png')}")
build_args += ["--icon", f"{ASSETS_PATH.joinpath('icon-42.png')}"]

logger.info(f"Add assets folder: {ASSETS_PATH}")
build_args += ["--add-data", f"{ASSETS_PATH}/*;./{ASSETS_FOLDER}"]
Expand Down
2 changes: 1 addition & 1 deletion src/doggo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def run() -> None:
world = World(
title=config.WORLD_TITLE,
size=(config.WORLD_WIDTH, config.WORLD_HEIGHT),
icon=ASSETS_PATH.joinpath("icon-256.png"),
icon=ASSETS_PATH.joinpath("icon-42.png"),
fps=config.WORLD_FPS,
)

Expand Down
Binary file removed src/doggo/assets/icon-256.ico
Binary file not shown.
Binary file removed src/doggo/assets/icon-256.png
Binary file not shown.
Binary file added src/doggo/assets/icon-42.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/doggo/assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 446c970

Please sign in to comment.