Skip to content

Commit

Permalink
🎉 0.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Reverier-Xu committed May 28, 2024
1 parent aca6e7b commit 106b51b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ jobs:
- name: Deploy application
run: ./deploy_macos.sh -c -p

# Upload application ZIP
- name: Upload application ZIP
uses: actions/upload-artifact@v4
with:
name: ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-x86_64.zip
path: ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-x86_64.zip

# Upload application DMG
- name: Upload application DMG
uses: actions/upload-artifact@v4
Expand All @@ -130,7 +123,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-x86_64.zip
${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-x86_64.dmg
## macOS build ###############################################################
Expand Down Expand Up @@ -171,13 +163,6 @@ jobs:
- name: Deploy application
run: ./deploy_macos.sh -c -p

# Upload application ZIP
- name: Upload application ZIP
uses: actions/upload-artifact@v4
with:
name: ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-arm64.zip
path: ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-arm64.zip

# Upload application DMG
- name: Upload application DMG
uses: actions/upload-artifact@v4
Expand All @@ -190,7 +175,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-arm64.zip
${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS-arm64.dmg
## Windows build #############################################################
Expand Down Expand Up @@ -240,13 +224,6 @@ jobs:
- name: Deploy application
run: sh deploy_windows.sh -c -p

# Upload application ZIP
- name: Upload application ZIP
uses: actions/upload-artifact@v4
with:
name: ${{env.APP_NAME}}-${{env.APP_VERSION}}-win64.zip
path: ${{env.APP_NAME}}-${{env.APP_VERSION}}-win64.zip

# Upload NSIS installer
- name: Upload NSIS installer
uses: actions/upload-artifact@v4
Expand All @@ -260,4 +237,3 @@ jobs:
with:
files: |
${{env.APP_NAME}}-${{env.APP_VERSION}}-win64.exe
${{env.APP_NAME}}-${{env.APP_VERSION}}-win64.zip
5 changes: 3 additions & 2 deletions deploy_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ strip build/bin/wsrx
cp build/bin/wsrx build/bin/wsrx-desktop.app/Contents/MacOS/wsrx
cp -r build/bin/wsrx-desktop.app $APP_NAME.app
macdeployqt $APP_NAME.app -qmldir=./desktop/components -qmldir=./desktop/ui -hardened-runtime -timestamp
find $APP_NAME.app/ -name "*.dSYM"|xargs rm -rf
hdiutil create $APP_NAME-tmp.dmg -ov -volname "WebSocketReflectorX" -fs HFS+ -srcfolder ./$APP_NAME.app
find $APP_NAME.app/ -name "*.dSYM" | xargs rm -rf
sleep 3
hdiutil create $APP_NAME-tmp.dmg -ov -volname $APP_NAME -fs HFS+ -srcfolder ./$APP_NAME.app
hdiutil convert $APP_NAME-tmp.dmg -format UDZO -o $APP_NAME.dmg
mv $APP_NAME.dmg $APP_NAME-$APP_VERSION-macOS-$CPU_ARCH.dmg

0 comments on commit 106b51b

Please sign in to comment.