Skip to content

Commit

Permalink
misc: Removed an old hack from the Windows standalone build script
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Jan 8, 2025
1 parent 55a306d commit bf1c40e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions winbuild/builddist.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,18 @@ call __env__\Scripts\activate.bat
pip install .
pip install -r winbuild\requirements.txt

REM Hack to workaround an issue with the way Nuitka handles the icons...
mkdir yogawin.build
copy winbuild\yoga-icon.ico yogawin.build\yoga-icon.ico
copy winbuild\yoga-icon.ico yoga-icon.ico

python -m nuitka ^
--standalone ^
--follow-imports ^
--assume-yes-for-downloads ^
--include-package=PIL ^
--include-package=_cffi_backend ^
--windows-icon-from-ico=yoga-icon.ico ^
--windows-icon-from-ico=winbuild\yoga-icon.ico ^
winbuild\yogawin.py
move yogawin.dist\yogawin.exe yogawin.dist\yoga.exe
copy winbuild\README-windows-dist.md yogawin.dist\README.txt
copy LICENSE yogawin.dist\LICENSE.txt

REM Remove the icon that was put here to workaround Nuika icon issue...
del yoga-icon.ico

endlocal


0 comments on commit bf1c40e

Please sign in to comment.