diff --git a/.github/workflows/python-app_macos.yml b/.github/workflows/python-app_macos.yml index e24ec60..a4f2761 100644 --- a/.github/workflows/python-app_macos.yml +++ b/.github/workflows/python-app_macos.yml @@ -36,7 +36,7 @@ jobs: - name: create package run: | pyrcc5 resources.qrc -o resources.py - pyinstaller --onefile --windowed --osx-bundle-identifier="de.uni-tuebingen.neuroetho.blipblop" blipblop_darwin.spec + pyinstaller --osx-bundle-identifier="de.uni-tuebingen.neuroetho.blipblop" blipblop_darwin.spec - name: Upload a Build Artifact uses: actions/upload-artifact@v2.2.2 diff --git a/.github/workflows/python-app_win.yml b/.github/workflows/python-app_win.yml index dee0fff..14ec40f 100644 --- a/.github/workflows/python-app_win.yml +++ b/.github/workflows/python-app_win.yml @@ -35,7 +35,7 @@ jobs: - name: create package run: | pyrcc5 resources.qrc -o resources.py - pyinstaller --onefile --windowed --name="BlipBlop" blipblop_win.spec + pyinstaller blipblop_win.spec - name: Upload a Build Artifact uses: actions/upload-artifact@v2.2.2 diff --git a/blipblop_darwin.spec b/blipblop_darwin.spec index 1289870..76e5105 100644 --- a/blipblop_darwin.spec +++ b/blipblop_darwin.spec @@ -16,6 +16,7 @@ a = Analysis(['blipblop_main.py'], ('sounds/bell.wav', "sounds"), ('sounds/complete.wav', "sounds"), ('sounds/message.wav', "sounds"), + ('icons/blipblop_logo.icns', "."), ], hiddenimports=[], hookspath=[], @@ -25,6 +26,7 @@ a = Analysis(['blipblop_main.py'], win_private_assemblies=False, cipher=block_cipher, noarchive=False) + pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) @@ -35,13 +37,12 @@ exe = EXE(pyz, a.datas, [], name='BlipBlop', - debug=False, + debug=True, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, - console=False, + console=True, icon='icons/blipblop_logo.icns' ) - diff --git a/blipblop_win.spec b/blipblop_win.spec index fb895ac..cbe9f7d 100644 --- a/blipblop_win.spec +++ b/blipblop_win.spec @@ -31,22 +31,19 @@ pyz = PYZ(a.pure, a.zipped_data, exe = EXE(pyz, a.scripts, + a.binaries, + a.zipfiles, + a.datas, [], exclude_binaries=True, name='BlipBlop', - debug=False, + debug=True, bootloader_ignore_signals=False, strip=False, upx=True, - console=False, + console=True, + upx_exclude=[], + runtime_tmpdir=None, icon='icons/blipblop_logo.ico' ) -coll = COLLECT(exe, - a.binaries, - a.zipfiles, - a.datas, - strip=False, - upx=True, - upx_exclude=[], - name='BlipBlop')