Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
ci: package and release Bridgeplay.app as Bridgeplay.zip
raymondchins08f9d651b6dc
diff --git a/.github/workflows/app.yml b/.github/workflows/app.ymlindex 5dfec97..4638bf8 100644--- a/.github/workflows/app.yml+++ b/.github/workflows/app.yml@@ -143,10 +143,10 @@ jobs:- name: Package the app bundlerun: |mkdir -p out/artifact- ditto -c -k --keepParent out/NotProton.app out/artifact/NotProton.zip+ ditto -c -k --keepParent out/Bridgeplay.app out/artifact/Bridgeplay.zip- name: Upload the app bundleuses: actions/upload-artifact@v4with:- name: NotProton+ name: Bridgeplaypath: out/artifactdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex d50df52..dad541f 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -28,18 +28,18 @@ jobs:- uses: actions/download-artifact@v4with:- name: NotProton+ name: Bridgeplaypath: release- name: Verify the archiveenv:VERSION: ${{ inputs.version }}run: |- ditto -x -k release/NotProton.zip release/extracted- codesign --verify --strict release/extracted/NotProton.app- actual=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' release/extracted/NotProton.app/Contents/Info.plist)+ ditto -x -k release/Bridgeplay.zip release/extracted+ codesign --verify --strict release/extracted/Bridgeplay.app+ actual=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' release/extracted/Bridgeplay.app/Contents/Info.plist)test "$actual" = "$VERSION"- make -s mincheck APP_BUNDLE=release/extracted/NotProton.app+ make -s mincheck APP_BUNDLE=release/extracted/Bridgeplay.app- name: Resolve Sparkle toolsrun: swift package resolve --package-path app@@ -51,7 +51,7 @@ jobs:SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }}VERSION: ${{ inputs.version }}run: |- gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/NotProton.html+ gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/Bridgeplay.htmlprintf '%s' "$SPARKLE_PRIVATE_KEY" | app/.build/artifacts/sparkle/Sparkle/bin/generate_appcast \--ed-key-file - \--download-url-prefix "https://github.com/$GITHUB_REPOSITORY/releases/download/v$VERSION/" \@@ -70,7 +70,7 @@ jobs:git push --force origin "v$VERSION"gh release delete "v$VERSION" --yes || truegh release create "v$VERSION" \- release/NotProton.zip \+ release/Bridgeplay.zip \release/appcast.xml \--title "$VERSION" \--notes "$RELEASE_NOTES"