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>
<fullname>Adventure Game Studio Game Engine</fullname>
<path>%ROMPATH%/ags</path>
<extension>.app</extension>
<command label="Native binary">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<extension>.app .sh</extension>
<command label="Native binary">%STARTDIR%=%GAMEDIR% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>ags</platform>
<theme>ags</theme>
</system>

View file

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