ZeroTierOne icon indicating copy to clipboard operation
ZeroTierOne copied to clipboard

Set kMDItemVersion on mac os app

Open laduke opened this issue 1 year ago • 1 comments

MDMs like Jamf read the kMDItemVersion information for reporting and patch management. But because all clients have the same version, it can’t find clients with outdated versions.

% zerotier-cli info
200 info AABBCCDDEE 1.14.0 ONLINE

mdls -name kMDItemVersion /Applications/ZeroTier.app 
kMDItemVersion = "1.0"

mdls -name kMDItemVersion /Library/Application\ Support/ZeroTier/One/zerotier-one                                                                        ~/repos/github.com/zerotier/Central
kMDItemVersion = (null)

I don't know yet where in xcode this is set. We already set the version to the right number in various places in xcode.

laduke avatar Aug 09 '24 16:08 laduke

In the desktop app, it's in the Info.plist

glimberg avatar Aug 09 '24 17:08 glimberg

It's actually the key CFBundleShortVersionString in Info.plist, will be easy to update on build.

adamierymenko avatar Sep 09 '24 19:09 adamierymenko

Closing since this is fixed in 1.14.1 release.

adamierymenko avatar Sep 11 '24 15:09 adamierymenko