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 30, 2024
1 parent 6a59894 commit e61dba6
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ script:
- mkdir -p $TARGET_APPDIR/usr/src
- mkdir -p $TARGET_APPDIR/usr/share/icons
- cp -r ./dist/Doggo/* $TARGET_APPDIR/usr/src
- cp ./src/doggo/assets/icon-42.png $TARGET_APPDIR/usr/share/icons/doggo.png
- cp ./src/doggo/assets/icon-256.png $TARGET_APPDIR/usr/share/icons/256x256/doggo.png
- mkdir -p $TARGET_APPDIR/usr/lib/x86_64-linux-gnu
- cp /usr/lib/x86_64-linux-gnu/libc.so.6 $TARGET_APPDIR/usr/lib/x86_64-linux-gnu
- cp /usr/lib/x86_64-linux-gnu/libdl.so.2 $TARGET_APPDIR/usr/lib/x86_64-linux-gnu
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@

Here is a list of the dog states: *idle*, *idle and bark*, *walk*, *walk and bark*, *sit*, *sit and bark*, *lie down*, *lie down and bark*., *run*, *run and bark*, *stand*, *stand and bark*, *sleep*.

**Project context**: A colleague of mine wanted to have a dog, but he couldn't because of lots of reasons. So I decided to make him a virtual dog and it was the opportunity for me to play with Markov chains.

<p align="center">
<img alt="doggo demo" src="https://raw.githubusercontent.com/u8slvn/doggo/main/assets/demo.gif">
</p>

**Project context**: A colleague of mine wanted to have a dog, but he couldn't because of lots of reasons. So I decided to make him a virtual dog and it was the opportunity for me to play with Markov chains.

<p align="center">
📦 <a href="https://github.com/u8slvn/doggo/releases">⇩ Download latest release ⇩</a>📦
<br/>
<i>Note: release binaries are generated from the <a href="https://github.com/u8slvn/doggo/actions/workflows/release.yaml">release workflow</a> and are unsigned.<br />You may need to allow the execution of the binary in your system settings.</i>
<i>NOTE: release binaries are generated from the <a href="https://github.com/u8slvn/doggo/actions/workflows/release.yaml">release workflow</a> and are unsigned.<br />You may need to allow the execution of the binary in your system settings.</i>
</p>

## Controls
Expand Down
Binary file added assets/icon-128.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 added assets/icon-256.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 added assets/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
4 changes: 2 additions & 2 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def build_pyinstaller_args(
logger.info(f"Output exe filename: {output_filename}")
build_args += ["-n", output_filename]

logger.info(f"Output file icon: {ROOT_ASSETS_PATH.joinpath('icon-42.png')}")
build_args += ["--icon", f"{ROOT_ASSETS_PATH.joinpath('icon-42.png')}"]
logger.info(f"Output file icon: {ROOT_ASSETS_PATH.joinpath('icon-src.png')}")
build_args += ["--icon", f"{ROOT_ASSETS_PATH.joinpath('icon-src.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 @@ -25,7 +25,7 @@ def run() -> None:
world = World(
title=config.WORLD_TITLE,
size=(config.WORLD_WIDTH, config.WORLD_HEIGHT),
icon=ASSETS_PATH.joinpath("icon-42.png"),
icon=ASSETS_PATH.joinpath("icon.png"),
fps=config.WORLD_FPS,
)

Expand Down
Binary file removed src/doggo/assets/icon-42.png
Binary file not shown.
Binary file added src/doggo/assets/icon.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 e61dba6

Please sign in to comment.