From 19d5cb5418cdca1f9c6bf27c6e864c10d72b2990 Mon Sep 17 00:00:00 2001 From: Shelby Allen Date: Thu, 9 Apr 2015 00:27:27 -0400 Subject: [PATCH 1/2] copy error --- Player/Contents/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player/Contents/CMakeLists.txt b/Player/Contents/CMakeLists.txt index 030690afc..cbfd9cb3b 100644 --- a/Player/Contents/CMakeLists.txt +++ b/Player/Contents/CMakeLists.txt @@ -315,7 +315,7 @@ endif() add_custom_command (TARGET StandalonePlayer PRE_BUILD COMMAND cp -R ${Polycode_SOURCE_DIR}/Modules/Bindings/UI/API/UI.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources) add_custom_command (TARGET StandalonePlayer PRE_BUILD - COMMAND cp -R ${Polycode_SOURCE_DIR}/Assets/UIThemes.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources) + COMMAND cp -R ${Polycode_SOURCE_DIR}/Assets/UIThemes.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources) foreach(xib ${PolycodePlayer_XIBS}) From 357871454b6c720996067a266f1b4ba6ca50cbb9 Mon Sep 17 00:00:00 2001 From: Shelby Allen Date: Thu, 9 Apr 2015 00:34:01 -0400 Subject: [PATCH 2/2] I think this is required as well --- IDE/Contents/Source/PolycodeProjectManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IDE/Contents/Source/PolycodeProjectManager.cpp b/IDE/Contents/Source/PolycodeProjectManager.cpp index 94f2828e3..87ac227e6 100644 --- a/IDE/Contents/Source/PolycodeProjectManager.cpp +++ b/IDE/Contents/Source/PolycodeProjectManager.cpp @@ -165,7 +165,8 @@ void PolycodeProjectManager::exportProject(PolycodeProject *project, String expo CoreServices::getInstance()->getCore()->createFolder(appPath); CoreServices::getInstance()->getCore()->createFolder(appPath+"/Contents"); - CoreServices::getInstance()->getCore()->createFolder(appPath+"/Contents/MacOS"); + CoreServices::getInstance()->getCore()->createFolder(appPath+"/Contents/MacOS"); + CoreServices::getInstance()->getCore()->createFolder(appPath+"/Contents/Resources"); CoreServices::getInstance()->getCore()->copyDiskItem(publishPath+"/Mac/StandalonePlayer.app/Contents/MacOS/StandalonePlayer", appPath+"/Contents/MacOS/"+project->getProjectName()); CoreServices::getInstance()->getCore()->copyDiskItem(publishPath+"/Mac/StandalonePlayer.app/Contents/Resources", appPath+"/Contents/Resources"); CoreServices::getInstance()->getCore()->copyDiskItem(publishPath+"/Mac/StandalonePlayer.app/Contents/Info.plist", appPath+"/Contents/Info.plist");