r/applescript • • Jan 20 '22

Setting Applescript compiled applet bundle info from commandline?

If I create an Applescript applet, set the name/version/etc info in the Script Editor side panel and save it, life is wonderful.

I can see a version number, when it asks for permission to control things, my applet's name is what get used. It's great.

How do I replicate that on command line though?

If I osacompile it then tweak the Info.plist, that seems to trip up Gatekeeper. And I can't find any references to how to do what Script Editor does.

Anyone know how to make me less sad?

2 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/floorish Mar 30 '23

Thanks for all the details, very useful! I was having the same issue and was missing the entitlements. You made me less sad ;)