Open idontgetoutmuch opened 7 months ago
Problem seems to be that the function should do unpack procedures based on what file the source actually returns instead of looking whats inside ´´artifacts´´. Then there's another issue of the .dmg containing .pkg files, so it should unpack pkg files in a for loop, making sure there are no pkg files left.
So for this program it would first download the dmg file, unpack it then unpack the .pkg file which contains another .pkg file, will look into fixing it soon.
@BatteredBunny: Just a side note: For the second issue you mention above it might be helpful to use /usr/sbin/pkgutil --expand-full
instead of the "manual" unpacking of pkg files via xar
and zcat
. The --expand-full
flag is an undocumented flag that extracts the pkg file as well as all Payload/Scripts files of (contained) packages.