Skip to content

Commit

Permalink
Fix dmg name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zensey committed Sep 14, 2021
1 parent 3d03d70 commit 5936eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
myst_launcher.dmg
myst_launcher_macos_amd64.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 1 addition & 6 deletions make_dmg.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#sudo xcode-select --switch /Library/Developer/CommandLineTools
#sudo xcode-select -s /Users/macmini/Downloads/Xcode.app/Contents/Developer

xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO clean build -destination 'platform=macOS' -project "launcher.xcodeproj"
hdiutil create -format UDZO -srcfolder build/Release myst_launcher.dmg
hdiutil create -format UDZO -srcfolder build/Release myst_launcher_macos_amd64.dmg

#xcodebuild archive -archivePath archive/result.xcarchive -scheme launcher -configuration "Release" ARCHS="x86_64h" -destination 'platform=macOS' -project "launcher.xcodeproj"
#xcodebuild archive -archivePath archive/result.xcarchive -exportArchive -exportOptionsPlist exportOptionsAdHoc.plist -exportPath app

0 comments on commit 5936eb2

Please sign in to comment.