sveinbjornt / Platypus

Create native Mac applications from command line scripts.
https://sveinbjorn.org/platypus
BSD 3-Clause "New" or "Revised" License
2.84k stars 171 forks source link

configure Info.plist #254

Closed orefalo closed 1 year ago

orefalo commented 1 year ago

Thank you fro this great app -

If I may ask a quick question, is it possible to customize the generated Info.plist?

I am using universalJavaApplicationStub and it reads JVM attributes from there...

sveinbjornt commented 1 year ago

Yes, you can edit the Info.plist in a created app just like you can in any other app. It's in Contents/Resources/Info.plist as expected.

orefalo commented 1 year ago

it's in binary format. Sorry I am not an expert.

sveinbjornt commented 1 year ago

You can open and edit binary plists with Xcode and a number of third party plist viewers such as PlistEdit.

Then there's the plistutil command line tool, which ships with macOS and can convert between binary and XML (see "man plistutil").