Skip to content

Commit

Permalink
will this fix it?
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Oct 30, 2024
1 parent b4f99b0 commit 48b8bbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/mac-universal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
# Codesigning is handled by the universal workflow!
- name: Codesign and notarize
run: 'NOTARIZE="no" ./github/workflows/scripts/mac/sign-apps.sh'
if: ${{ matrix.os.name == 'macos' }}

- name: 'Tar files'
run: 'tar -cvf cboe-macos-universal-${{matrix.configuration}}.tar "build/Blades of Exile"'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/scripts/mac/make-universal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ fi
INTEL=cboe-macos-intel-$CONFIGURATION
SILICON=cboe-macos-silicon-$CONFIGURATION

mkdir "build/Blades of Exile"

combine() {
mkdir -p "build/Blades of Exile/$1.app/Contents/MacOS"
lipo -create "$SILICON/Blades of Exile/$1.app/Contents/MacOS/$1" "$INTEL/Blades of Exile/$1.app/Contents/MacOS/$1" -output "build/Blades of Exile/$1.app/Contents/MacOS"
lipo -create "$SILICON/Blades of Exile/$1.app/Contents/MacOS/$1" "$INTEL/Blades of Exile/$1.app/Contents/MacOS/$1" -output "build/Blades of Exile/$1.app/Contents/MacOS/$1"
cp -r "$SILICON/Blades of Exile/$1.app/Contents/Frameworks" "build/Blades of Exile/$1.app/Contents/"
cp -r "$SILICON/Blades of Exile/$1.app/Contents/Resources" "build/Blades of Exile/$1.app/Contents/"
cp "$SILICON/Blades of Exile/$1.app/Contents/Info.plist" "build/Blades of Exile/$1.app/Contents/"
Expand Down

0 comments on commit 48b8bbf

Please sign in to comment.