DMGs, JARs, and static libraries
June 7 was about files that are archives without calling themselves archives.
Disk images, without mounting
A DMG is normally something you double-click, wait for, copy from, and then remember to eject. From June 7, Purrchiver opens one like any other archive: the contents appear in a window, and you can extract everything, pull out a single file, or drag a file or a whole folder straight into Finder. Nothing is mounted, so there’s nothing to eject afterwards.
Encrypted disk images ask for their password with the same prompt every other encrypted archive uses. DMGs open read-only — to make one, Purrchiver creates disk images separately.
JAR, WAR, and EAR
Java archives are ZIP files underneath, so archive tools usually just call them
“ZIP”. Purrchiver now recognizes .jar, .war, and .ear as what they are,
labels them that way, and registers for them so macOS offers Purrchiver when you
open one. They’re read-only on purpose: building a JAR is the Java toolchain’s
job, not an archiver’s.
Static libraries
A .a static library is an old Unix ar archive — a bundle of compiled object
files. macOS doesn’t treat it as an archive at all. Purrchiver now opens one so
you can see what’s inside and extract individual objects, which is the kind of
thing you’d otherwise do with ar -t in Terminal. Read-only, for the same
reason as JARs.
The format support page lists everything Purrchiver reads and writes, and disk images have their own page.