diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 4daee5b..6e16752 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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 }}