[Ohrrpgce] [ohrrpgce/ohrrpgce] Distributing a game for Mac from Windows is broken (Issue #1239)

Ralph Versteegen notifications at github.com
Mon May 2 02:33:13 PDT 2022


Recently Wobbler found that if you package a Mac app .zip from Windows it doesn't run on a Mac, and today I see Spendidland has [hit the same problem](https://splendidland.itch.io/franken). Distributing from Linux works.

Although I don't currently have access to a Mac to test, I assume the problem is that the unzipper built into Finder (no idea in which Mac OS version this started) no longer indiscriminately sets the +x bit on all files from a .zip created on Windows. zip files record which OS each file in the archive is from, with OS-specific metadata. Windows files don't have +x bits, so the zip format has no way to set them as executable.

Maybe we should disable the Distribute for Mac options until this is fixed? Spendidland resorted to telling Mac users to set the +x in the terminal.

I already wrote code to create .gz files but I don't want to expand it to .zip because it uses LodePNG's DEFLATE implementation, which compresses poorly in comparison to standard Info-ZIP. I think the easiest solution is to patch and compile our own zip.exe.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1239
You are receiving this because you are subscribed to this thread.

Message ID: <ohrrpgce/ohrrpgce/issues/1239 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220502/dcde3fb7/attachment.html>


More information about the Ohrrpgce mailing list