diff --git a/.github/workflows/ci-autobuild.yml b/.github/workflows/ci-autobuild.yml index de7823c..28a9838 100644 --- a/.github/workflows/ci-autobuild.yml +++ b/.github/workflows/ci-autobuild.yml @@ -65,11 +65,9 @@ jobs: run: echo __version__=\"${{ steps.version.outputs.version }}\" > src/__version__.py - run: pip install -r requirements.txt - run: pip install pyinstaller - - run: pyinstaller RegeltestCreator.pyw -F ${{ matrix.pyinstaller }} + - run: pyinstaller RegeltestCreator.spec -F - if: matrix.os == 'macos-latest' run: | - cat RegeltestCreator.spec - zip -r dist/CRASHME zip -r dist/RegeltestCreator.app.zip dist/RegeltestCreator.app - name: Archive production artifacts uses: actions/upload-artifact@v2 diff --git a/RegeltestCreator.spec b/RegeltestCreator.spec index 3fb054b..56f76f2 100644 --- a/RegeltestCreator.spec +++ b/RegeltestCreator.spec @@ -23,7 +23,7 @@ exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, - a.datas, + a.datas, [], name='RegeltestCreator', debug=False, @@ -32,12 +32,12 @@ exe = EXE(pyz, upx=True, upx_exclude=[], runtime_tmpdir=None, + console=False, disable_windowed_traceback=False, target_arch=None, codesign_identity=None, entitlements_file=None ) - app = BUNDLE(exe, - name='RegeltestCreator', - icon=None, - bundle_identifier='de.jfeil.RegeltestCreator') \ No newline at end of file + name='RegeltestCreator.app', + icon=None, + bundle_identifier='de.jfeil.RegeltestCreator') \ No newline at end of file