kcrawford / dockutil

command line tool for managing dock items
http://patternbuffer.wordpress.com
Apache License 2.0
1.36k stars 131 forks source link

Embed Info.plist in binary and reference that for version. #119

Closed ryangball closed 2 years ago

ryangball commented 2 years ago

This will embed the Info.plist into the binary itself, so that version can be maintained in the Xcode project's General > Version field rather than the swift file itself. This should cut down on accidental updates without modifying the version.

You can test that the Info.plist is successfully embedded in the binary with otool -P /path/to/dockutil or just test using the --version flag as it still works.

@kcrawford Thanks for the awesome work on this tool, it has been an asset of ours and the MacAdmins community for years.

kcrawford commented 2 years ago

I love it. Thanks