mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 07:25:52 +00:00
Fixed: nib2cib'ed files different with jake release and jake deploy.
Without this fix, if you ran `nib2cib` on its own on your UI files you could get a different result than what `jake release` or `jake deploy` would produce. In particular the `NSClasses` setting would be ignored unless `jake release` was used. The reason for this bug was that the main bundle was never loaded and so the `Info.plist` was not read. But when using `jake release` (and deploy) the main bundle and the `Info.plist` gets baked in so it's always automatically loaded. The fix is to load the main bundle before checking its settings.
This commit is contained in:
1 parent
dde805931d
commit
f4c11d14e7
1 file changed
+4
-1
@@ -204,7 +204,10 @@ var FILE = require("file"),
|
||||
|
||||
[self loadThemesFromList:themeList];
|
||||
[self loadFrameworks:options.frameworks verbosity:options.verbosity];
|
||||
[self loadNSClassesFromBundle:[CPBundle mainBundle]];
|
||||
|
||||
var mainBundle = [CPBundle mainBundle];
|
||||
[mainBundle loadWithDelegate:nil];
|
||||
[self loadNSClassesFromBundle:mainBundle];
|
||||
|
||||
var frameworkList = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user