mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
made press work with custom themes
This commit is contained in:
@@ -130,7 +130,12 @@ function press(rootPath, outputPath, options) {
|
||||
|
||||
// read in the default theme name, and attempt to get its size
|
||||
var themeName = outputInfoPlist.valueForKey("CPDefaultTheme") || "Aristo",
|
||||
themePath = nil;
|
||||
|
||||
if (themeName === "Aristo")
|
||||
themePath = FILE.join(outputPath, options.frameworks, "AppKit", "Resources", themeName+".blend");
|
||||
else
|
||||
themePath = FILE.join(outputPath, "Resources", themeName + ".blend");
|
||||
|
||||
if (FILE.exists(themePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user