From e34db2c51e2295c34cad85a74cb3e1a21503700f Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Sat, 13 Jan 2024 01:01:41 +0100 Subject: [PATCH] Fix bundle generation in macOS --- platforms/macos/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/macos/Makefile b/platforms/macos/Makefile index 8f363d7a..3745dda9 100644 --- a/platforms/macos/Makefile +++ b/platforms/macos/Makefile @@ -11,7 +11,7 @@ bundle: cp Info.plist $(APP_NAME).app/Contents/ cp $(DYLIB_PATH)/$(SDL_DYLIB) $(APP_NAME).app/Contents/Frameworks/ cp iconfile.icns $(APP_NAME).app/Contents/Resources/ - cp $(EXE) $(APP_NAME).app/Contents/MacOS/ + cp $(TARGET) $(APP_NAME).app/Contents/MacOS/ cp run.sh $(APP_NAME).app/Contents/MacOS/ cp 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)