"Contents/Resources/English.lproj/MiniFactor.nib" copy-bundle-dir
] [ drop ] if ;
+: vocab-mac-icon-path ( vocab -- string )
+ vocab-dir "icon.icns" append-path ;
+
: copy-icns ( vocab bundle-name -- icon? )
swap dup vocab-mac-icon-path vocab-append-path dup exists?
[ swap "Contents/Resources/Icon.icns" append-path copy-file t ]
: ?open-in-explorer ( dir -- )
open-directory-after-deploy? get [ open-in-explorer ] [ drop ] if ;
+: vocab-windows-icon-path ( vocab -- string )
+ vocab-dir "icon.ico" append-path ;
+
: embed-ico ( vm-path vocab -- )
dup vocab-windows-icon-path vocab-append-path dup exists?
[ binary file-contents app-icon-resource-id embed-icon-resource ]
\ vocab-file-contents reset-memoized
] [ vocab-name no-vocab ] ?if ;
-: vocab-windows-icon-path ( vocab -- string )
- vocab-dir "icon.ico" append-path ;
-
-: vocab-mac-icon-path ( vocab -- string )
- vocab-dir "icon.icns" append-path ;
-
: vocab-resources-path ( vocab -- string )
vocab-dir "resources.txt" append-path ;