diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 538c701..6e55536 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,12 +42,13 @@ jobs: include: - os: windows-latest name: sc64-windows - options: --console --icon ../../assets/sc64_logo_256_256.png + options: --onefile --console --icon ../../assets/sc64_logo_256_256.png - os: ubuntu-latest name: sc64-linux + options: --onefile - os: macos-latest name: sc64-macos - options: --console --icon ../../assets/sc64_logo_256_256.png + options: --onedir --console --icon ../../assets/sc64_logo_256_256.png runs-on: ${{ matrix.os }} @@ -65,7 +66,7 @@ jobs: working-directory: sw/pc - name: Create sc64 executable - run: pyinstaller --clean --onefile --name ${{ matrix.name }} ${{ matrix.options }} sc64.py + run: pyinstaller --clean ${{ matrix.options }} sc64.py working-directory: sw/pc - name: Upload artifact