- Home /
How can I create an installer for my game? (Mac)
I'm able to build a Mac Version of my game, but I encounter a problem when I put it in a zip folder. It seems that when Mac users unzip the program using Finder, they're unable to run it at all. This can only be circumvented by using a different extractor, or by using chmod to change the permissions. Neither of these options are ideal since it would just be really cumbersome to expect every Mac user to do that.
So in regards to that, I wanted to see if I could package the .app into an installer that the user could run, which would hopefully solve the problem of the game not opening. Does anyone have a guide for how I could accomplish this?
Answer by alinehuf · Apr 09, 2020 at 07:34 PM
You can transform the .app folder into a .dmg file with the disk utility of macos. Create a new folder with only your .app inside. Then in disk utility clic on "File/New image/From folder" and choose your folder. MacOS will generate a .dmg for you. However there will still be a warning that the source of the software is not reliable and you will have to right click "open" to bypass the warning to launch the app.
There's an article for this: https://gist.github.com/jadeatucker/5382343
Answer by Riiich · Sep 01, 2021 at 02:20 PM
The only way to get rid of the warning is to get it onto the App store. That way, Apple will certify the app and will disable the warning: https://developer.apple.com/macos/submit/
Your answer
Follow this Question
Related Questions
unity wont appear as installed on mac 0 Answers
Download Assistant doesn't work on Mac OSX 10.11.2 0 Answers
Mac build not run on other users mac 1 Answer
Can't install Unity on Mac. 0 Answers
Tap to click on Mac touchpad 0 Answers