I'm just leaving this here for (the dozens!!!) of folks that might be looking for something like ZIPFoundation but need to use it on a non-POSIX platform like Windows.
I ripped out all the low-level POSIX calls and tweaked the codebase a bit to use high-level Foundation instead of POSIX file descriptors / memory file mapping.
I also wanted to not rely on zlib being present on the user's OS (non-Apple only, of course), so I instead include the most recent version of zlib from source instead as a replacement for the CZLib shim in the original repo.
I'm just leaving this here for (the dozens!!!) of folks that might be looking for something like ZIPFoundation but need to use it on a non-POSIX platform like Windows.
I ripped out all the low-level POSIX calls and tweaked the codebase a bit to use high-level Foundation instead of POSIX file descriptors / memory file mapping.
I also wanted to not rely on
zlib
being present on the user's OS (non-Apple only, of course), so I instead include the most recent version ofzlib
from source instead as a replacement for theCZLib
shim in the original repo.Anyway, here is the repo: ZIPFoundationModern