Skip to content

Commit

Permalink
Added Icon to Standalone Executable (#12)
Browse files Browse the repository at this point in the history
* Updated OSCR dependency to 251.

* Try building the release with an older version of nuitka.

* Test.

* Fixed release build.

* Test build with OSCR icon.

* Added icon.

* Added Icon.
  • Loading branch information
Kraust authored Feb 26, 2024
1 parent 04e6fd7 commit b3aabc9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- run: pip install .
- run: pip install nuitka==2.0.4
- run: python -m nuitka --standalone --enable-plugin=pyside6 --onefile --output-filename=OSCR --output-dir=dist main.py --disable-console --assume-yes-for-downloads --noinclude-qt-translations --include-data-files=./assets/*=./assets/
- run: python -m nuitka --standalone --enable-plugin=pyside6 --onefile --output-filename=OSCR --output-dir=dist main.py --disable-console --assume-yes-for-downloads --noinclude-qt-translations --include-data-files=./assets/*=./assets/ --windows-icon-from-ico=./assets/oscr_icon_small.ico
- uses: actions/upload-artifact@v2
with:
name: build_binary
Expand Down
Binary file added assets/oscr_icon_small.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class Launcher():

version = '2024.2a251'
version = '2024.2a252'

# holds the style of the app
theme = {
Expand Down

0 comments on commit b3aabc9

Please sign in to comment.