diff --git a/basis/tools/deploy/macosx/macosx.factor b/basis/tools/deploy/macosx/macosx.factor index 220bd86d1e..4a132ed999 100644 --- a/basis/tools/deploy/macosx/macosx.factor +++ b/basis/tools/deploy/macosx/macosx.factor @@ -70,13 +70,16 @@ IN: tools.deploy.macosx [ normalize-path [ ] [ parent-directory ] bi ] bi* -> selectFile:inFileViewerRootedAtPath: drop ; +: deploy.app-image-name ( vocab bundle-name -- str ) + [ % "/Contents/Resources/" % % ".image" % ] "" make ; + : deploy-app-bundle ( vocab -- ) "resource:" [ dup deploy-config [ bundle-name dup exists? [ delete-tree ] [ drop ] if [ bundle-name create-app-dir ] keep - [ deployed-image-name ] keep - namespace make-deploy-image-executable + [ bundle-name deploy.app-image-name ] keep + namespace make-deploy-image bundle-name [ "Contents/Resources" copy-resources ] [ "Contents/Frameworks" copy-libraries ] 2bi