iOS: Embed fonts into the app bundle.

This commit is contained in:
Unknown W. Brackets 2013-03-15 01:59:56 -07:00
parent 2b7b95972c
commit e6b52c5025
2 changed files with 3 additions and 0 deletions

View File

@ -1002,6 +1002,7 @@ if (IOS)
file(INSTALL
${IOSAssets}
DESTINATION assets)
file(INSTALL flash0 DESTINATION assets)
set(RSRC_XIB_FILES assets/Icon@2x.png)
SET_SOURCE_FILES_PROPERTIES(${RSRC_XIB_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
set(APP_DIR_NAME \${TARGET_BUILD_DIR}/\${FULL_PRODUCT_NAME})

View File

@ -255,6 +255,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
g_Config.memCardDirectory = user_data_path;
#ifdef BLACKBERRY
g_Config.flashDirectory = "app/native/assets/flash/";
#elif IOS
g_Config.flashDirectory = std::string(external_directory) + "flash0/";
#else
g_Config.flashDirectory = user_data_path+"/flash/";
#endif