]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.deploy.macosx: fix path to MiniFactor.nib
authorJoe Groff <arcata@gmail.com>
Thu, 17 Nov 2011 01:17:54 +0000 (17:17 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 17 Nov 2011 01:17:54 +0000 (17:17 -0800)
Fixes #414.

basis/tools/deploy/macosx/macosx.factor

index ecfe52928651092121c935ba08afd16965a1d264..4d62ee399ad877e47d844ba7736d5ee3b121aba1 100644 (file)
@@ -17,7 +17,7 @@ IN: tools.deploy.macosx
 
 : copy-bundle-dir ( bundle-name dir -- )
     [ bundle-dir prepend-path swap ] keep
-    "Contents" prepend-path append-path copy-tree ;
+    append-path copy-tree ;
 
 : app-plist ( icon? executable bundle-name -- assoc )
     [
@@ -39,7 +39,7 @@ IN: tools.deploy.macosx
 
 : copy-nib ( bundle-name -- )
     deploy-ui? get [
-        "Resources/English.lproj/MiniFactor.nib" copy-bundle-dir
+        "Contents/Resources/English.lproj/MiniFactor.nib" copy-bundle-dir
     ] [ drop ] if ;
 
 : copy-icns ( vocab bundle-name -- icon? )