So, I’m on the last steps of releasing my game’ ports for linux and mac, I just uploaded a version for bothh system, the Linux one seems to be fine (it is in public test for about two months now, actually), but when trying to run the MacOS version, it seems to point to a folder with a really weird pattern.
Here the console output for both when it is running fine from the project bin folder and for when it is running from the steam folder.
bin folder:
Dumativas-Mac-mini:~ dumativa$ /Users/dumativa/Desktop/LendaDoHeroi/trunk/DumaLegend/DumaLegend.DesktopGL/DumaLegend.DesktopGL2/DumaLegend.DesktopGL2/DumaLegend.DesktopGL2/bin/Debug/LendaDoHeroi ; exit; LENDA DO HEROI VERSAO v2.2.132
steam folder:
Dumativas-Mac-mini:~ dumativa$ /Users/dumativa/Library/Application\ Support/Steam/steamapps/common/A\ Lenda\ do\ Herói\ -\ O\ Jogo/LendaDoHeroi ; exit;
-bash: /Users/dumativa/Library/Application Support/Steam/steamapps/common/A Lenda do Herói - O Jogo/LendaDoHeroi: /bin/bash^M: bad interpreter: No such file or directory
logout
And this is the code that moves to script’s directory
# Move to script’s directory
cd "
dirname “$0”`"
Does anyone know what it is causing this problem or even how do I fix this?