[ci,windows] Convert icon beforehand
This commit is contained in:
parent
cbbcd786da
commit
a1bcc0bb21
@ -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_*
|
||||
|
2
Pipfile
2
Pipfile
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user