[ci,windows] Convert icon beforehand

This commit is contained in:
Fabian 2022-09-27 22:17:50 +02:00
parent cbbcd786da
commit a1bcc0bb21
3 changed files with 1 additions and 3 deletions

View File

@ -59,7 +59,7 @@ package_windows:
# pipenv dependency resolution is platform dependant; pyinstaller has extra dependency on Windows -> resolve at package time
- C:\\Python310\\python.exe -m pipenv install --dev --skip-lock
script:
- C:\\Python310\\python.exe -m pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i src/fime/icons/appointment-new.svg src/fime/main.py
- C:\\Python310\\python.exe -m pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i icon.ico src/fime/main.py
artifacts:
paths:
- dist/fime_windows_*

View File

@ -12,8 +12,6 @@ requests-futures = "~=1.0"
pyinstaller = "~=5.1"
# wheel packaging on linux is sufficient
build = {version = "~=0.8", sys_platform = "== 'linux'" }
# used by pyinstaller to set exe icon
pillow = { version = "*", sys_platform = "== 'win32'"}
[requires]
python_version = "3.10"

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB