WIP OSX Support

This commit is contained in:
2016-01-30 21:14:16 -08:00
parent f1f5258bc7
commit a9772075e7
4 changed files with 5 additions and 5 deletions

View File

@@ -218,8 +218,8 @@ void kraken::set_debug_text(const std::string &print_text)
NSString *bundleName = @"kraken_standard_assets_osx"; NSString *bundleName = @"kraken_standard_assets_osx";
#endif #endif
NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier: @"com.krakenengine.kraken"]; //NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier: @"com.krakenengine.standardassets"];
NSBundle *frameworkBundle = [NSBundle bundleForClass: [self class]];
//NSString *bundlePath = [[frameworkBundle bundlePath] stringByAppendingPathComponent:bundleName]; //NSString *bundlePath = [[frameworkBundle bundlePath] stringByAppendingPathComponent:bundleName];
NSString *bundlePath = [frameworkBundle pathForResource:bundleName ofType:@"bundle"]; NSString *bundlePath = [frameworkBundle pathForResource:bundleName ofType:@"bundle"];
NSBundle *bundle = [NSBundle bundleWithPath:bundlePath]; NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.krakenengine.$(PRODUCT_NAME:rfc1034identifier)</string> <string>com.krakenengine.kraken</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>

View File

@@ -9,7 +9,7 @@
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string></string> <string></string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.kearwood.kraken.assets</string> <string>com.krakenengine.standardassets</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.krakenengine.$(PRODUCT_NAME:rfc1034identifier)</string> <string>com.krakenengine.kraken</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>