<p></p>
<p dir="auto">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 <a href="https://splendidland.itch.io/franken" rel="nofollow">hit the same problem</a>. Distributing from Linux works.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1239">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUGD3SJVEGT5OYPETDVH6ONTANCNFSM5U3O63KA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZSNC3OY5NVV6AA4VC3VH6ONTA5CNFSM5U3O63KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SHATA3Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1239</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1239",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1239",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>