Open jby opened 2 years ago
+1
@hjuutilainen Related to this, sadly some devs issue their apps in single platform versions (cough!) Zoom (cough!).
This means we have to keep two otherwise identical copies and versions in the munki_repo and as each should be marked for their respective platform in the Pkginfo Munki should install the correct one. However being able to see this in MunkiAdmin and if needed to edit the PkgInfo would be clearly very helpful.
@hjuutilainen Related to this, sadly some devs issue their apps in single platform versions (cough!) Zoom (cough!).
This means we have to keep two otherwise identical copies and versions in the munki_repo and as each should be marked for their respective platform in the Pkginfo Munki should install the correct one. However being able to see this in MunkiAdmin and if needed to edit the PkgInfo would be clearly very helpful.
I don't understand @jelockwood, I just keep one, the universal version. No need for assigning arch to it when it's universal...
Zoom do indeed NOT provide a universal binary. It is possible to run the Intel version on an Apple Silicon Mac if you have Rosetta2 installed with a resulting performance hit.
The URL for the Intel version is - https://zoom.us/client/5.12.2.11434/zoomusInstallerFull.pkg The URL for the Apple Silicon version is - https://zoom.us/client/5.12.2.11434/zoomusInstallerFull.pkg?archType=arm64
See - https://zoom.us/download
As mentioned other developers also do the same although sometimes with more justification than in the case of Zoom. (In particular a lot of developer tools are platform specific.)
As it happens I have since found that Munki does have the ability to define which platform an installer is for and so does MunkiAdmin and I have therefore built AutoPkg recipes accordingly and have them working as I want.
The important thing is to do the following -
<key>supported_architectures</key>
<array>
<string>arm64</string>
</array>
For a Universal binary you could either omit this key completely, or list both the x86_64 and arm64 values as two entries in the array.
It's reported as universal though...
@jby Hmm, that is interesting. They do however provide two different installers with one specifically listed as being for Apple Silicon. See - https://zoom.us/download
Is the one you looked at from the Apple App Store? That might explain the difference with the non-app store version not being a universal app.
I'm using this:
https://zoom.us/client/latest/ZoomInstallerIT.pkg
It contains this, according to Suspicious Package:
Now with more and more apps being available in different architecture versions it would be nice to be able to show them separately using a click in the sidebar. Just a thought.