Skip to content

Commit

Permalink
Fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jun 26, 2024
1 parent 5c2e76f commit 8abfc6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/geargrafx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ jobs:
run: |
mkdir -p artifact
cp platforms/shared/README.txt artifact
cp platforms/shared/gamecontrollerdb.txt artifact
cp -R platforms/macos/${{ env.NAME_UPPER }}.app artifact
- name: Archive binary
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion platforms/macos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bundle:
cp iconfile.icns $(APP_NAME).app/Contents/Resources/
cp $(TARGET) $(APP_NAME).app/Contents/MacOS/
cp run.sh $(APP_NAME).app/Contents/MacOS/
cp ../gamecontrollerdb.txt $(APP_NAME).app/Contents/MacOS/
cp ../shared/gamecontrollerdb.txt $(APP_NAME).app/Contents/MacOS/
install_name_tool -change $(DYLIB_PATH)/$(SDL_DYLIB) @$(APP_NAME).app/Contents/MacOS/$(SDL_DYLIB) $(APP_NAME).app/Contents/MacOS/$(APP_NAME)

dist: clean all bundle
Expand Down

0 comments on commit 8abfc6a

Please sign in to comment.