Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Tales of Androgyny

A game about birds, bees, flowers and trees. · By Majalis

App dont open on MAC !!

A topic by Drakano created Feb 24, 2021 Views: 643 Replies: 4
Viewing posts 1 to 2

So, like many others before me, the app just don't open on mac, I try with the .Jar file, it doesn't open either. I also try to reinstall the Java SE Runtime Environment, it's still doing nothing. Devs, could you take a look to the problem pls.

I am on a MacBook Pro 15-inch 2018 and on Mojave 10.14.6

If you replaced the internal jre folder inside the app, running the jar would be a 50/50 that it either works or not from what I tested. Did you run the chmod command?
https://itch.io/t/1069538/doesnt-work-on-mac

i will try to replaced the internal jre folder again. But what is the chmod command ?

(3 edits)

In the link of my previous post, I mentioned that apps "Can't be opened" if the executable inside the *.app/Contents/MacOS/ folder does not have the execute bit set. You need to open the application "Terminal" (use Command + Spacebar to toggle Spotlight and search "Terminal") and copy paste this (click return / enter after you pasted)

printf "\nSelect the application that cannot open\n\n"; a="$(osascript -e 'POSIX path of (choose file default location (path to downloads folder) of type "APPL" with prompt "Select the application that cannot open")')"; if [[ $? -eq 0 ]]; then printf "(Re)Applying the execution permission to executable files..."; while read f; do if [[ "$(file -b "$f")" =~ "Mach-O 64-bit executable x86_64" ]]; then chmod +x "$f"; fi; done < <(find "$a"); if [[ $? -eq 0 ]]; then printf "done\n"; printf "\nRemoving extended attribute com.apple.quarantine from app..."; if [[ "$(xattr "$a")" =~ "com.apple.quarantine" ]]; then xattr -r -d com.apple.quarantine "$a"; printf "done\n"; else printf "already removed\n"; fi; printf "\nPlease wait until application launches..."; open "$a"; printf "done\n"; fi; fi; printf "\n"

Oh right, I forgot this isn't going to open right unless you replaced the internal jre folder beforehand

Great !! it work, thx a lot for the help