app-plist ( icon? executable bundle-name -- assoc )


Vocabulary
tools.deploy.macos

Inputs
icon?an object
executablean object
bundle-namean object


Outputs
assocan object


Definition


: app-plist ( icon? executable bundle-name -- assoc )
[
"6.0" "CFBundleInfoDictionaryVersion" ,,
"APPL" "CFBundlePackageType" ,,
file-name "CFBundleName" ,,
[ "CFBundleExecutable" ,, ]
[ "org.factor." prepend "CFBundleIdentifier" ,, ] bi
[ "Icon.icns" "CFBundleIconFile" ,, ] when
t "NSHighResolutionCapable" ,,
] H{ } make ;