ImageOptim recipe issues with .tar.xz file
Closed this issue · 2 comments
robertryansqub commented
The ImageOptim recipe fails as the app is now being distributed as a .tar.xz file which is causing the problem below.
PkgRootCreator
PkgRootCreator: Created /Users/munki/Library/AutoPkg/Cache/local.munki.ImageOptim/ImageOptim
PkgRootCreator: Created /Users/munki/Library/AutoPkg/Cache/local.munki.ImageOptim/ImageOptim/Applications
Unarchiver
Can't guess archive format for filename ImageOptim1.9.3.tar.xz
Failed.
Receipt written to /Users/munki/Library/AutoPkg/Cache/local.munki.ImageOptim/receipts/local.munki-receipt-20231030-163140.plist
The following recipes failed:
local.munki.ImageOptim
Error in local.munki.ImageOptim: Processor: Unarchiver: Error: Can't guess archive format for filename ImageOptim1.9.3.tar.xz
robertryansqub commented
It appears that adding
<key>archive_format</key
<string>tar</string>
to the Unarchiver arguments fixes the matter. I would offer a PR but that's beyond my very limited git abilities…
gerardkok commented
Hey @robertryansqub, it should be fixed with @paul-cossey 's PR.