diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08b2014..ae909e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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_* diff --git a/Pipfile b/Pipfile index eaafba3..a9ef257 100644 --- a/Pipfile +++ b/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" diff --git a/icon.ico b/icon.ico new file mode 100644 index 0000000..e8021da Binary files /dev/null and b/icon.ico differ