fix workflows (again)

This commit is contained in:
2025-10-20 16:36:10 +02:00
parent a7132ed1cd
commit c93f6345c8
+6 -1
View File
@@ -87,9 +87,14 @@ jobs:
"@
$json | Out-File -Encoding utf8 build_info.json
- name: Build executable with PyInstaller
- name: Build executable with PyInstaller (Windows)
if: runner.os == 'Windows'
run: pyinstaller --onefile --windowed --add-data "build_info.json:." --name ${{ env.APP_NAME }} main.py
- name: Build executable with PyInstaller (Unix)
if: runner.os != 'Windows'
run: pyinstaller --onefile --windowed --name ${{ env.APP_NAME }} main.py
- name: Make executable (Unix)
if: runner.os != 'Windows'
run: chmod +x dist/${{ env.APP_NAME }}