Added the .sh file extension to the ags system on Unix and macOS and set the %STARTDIR% variable to the game directory

This commit is contained in:
Leon Styhre 2023-04-30 11:42:01 +02:00
parent cdf7a192c4
commit a22605863b
2 changed files with 4 additions and 4 deletions

View file

@ -14,8 +14,8 @@
<name>ags</name> <name>ags</name>
<fullname>Adventure Game Studio Game Engine</fullname> <fullname>Adventure Game Studio Game Engine</fullname>
<path>%ROMPATH%/ags</path> <path>%ROMPATH%/ags</path>
<extension>.app</extension> <extension>.app .sh</extension>
<command label="Native binary">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command> <command label="Native binary">%STARTDIR%=%GAMEDIR% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>ags</platform> <platform>ags</platform>
<theme>ags</theme> <theme>ags</theme>
</system> </system>

View file

@ -14,8 +14,8 @@
<name>ags</name> <name>ags</name>
<fullname>Adventure Game Studio Game Engine</fullname> <fullname>Adventure Game Studio Game Engine</fullname>
<path>%ROMPATH%/ags</path> <path>%ROMPATH%/ags</path>
<extension>.desktop</extension> <extension>.desktop .sh</extension>
<command label="Native binary">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command> <command label="Native binary">%STARTDIR%=%GAMEDIR% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>ags</platform> <platform>ags</platform>
<theme>ags</theme> <theme>ags</theme>
</system> </system>