WIP OSX Support
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user