Skip to content

Instantly share code, notes, and snippets.

@KenneyNL
Last active March 7, 2021 13:54
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KenneyNL/0a629b5d48d9732e60dc1c01499eb665 to your computer and use it in GitHub Desktop.
Save KenneyNL/0a629b5d48d9732e60dc1c01499eb665 to your computer and use it in GitHub Desktop.

Creating a Mac build with permissions set on Windows

In order for Mac users to be able to open a build created on Windows (using Unity) some permissions will have to be set. If you create a ZIP archive of your build you'll lose permissions. Instead;

  1. Download or purchase MobaXTerm XServer; https://mobaxterm.mobatek.net/download.html
  2. Install and open, click on 'Start local terminal'
  3. Type 'cd ' and drag the folder of your project into the terminal, press enter.
  4. Type; chmod -x [your app name].app, press enter.
  5. Type; chmod 777 [your app name].app, press enter.
  6. (Optional) Type ls -l to check if the permissions were set, it should look something like drwxrwxrwx.
  7. Then package as tar.gz by typing tar -czvf [your app name].tar.gz [your app name].app, press enter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment