diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml
index 31bb0170e..246bfaed2 100644
--- a/resources/systems/macos/es_systems.xml
+++ b/resources/systems/macos/es_systems.xml
@@ -14,8 +14,8 @@
ags
Adventure Game Studio Game Engine
%ROMPATH%/ags
- .app
- %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%
+ .app .sh
+ %STARTDIR%=%GAMEDIR% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%
ags
ags
diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml
index f95a298a7..1289df6f5 100644
--- a/resources/systems/unix/es_systems.xml
+++ b/resources/systems/unix/es_systems.xml
@@ -14,8 +14,8 @@
ags
Adventure Game Studio Game Engine
%ROMPATH%/ags
- .desktop
- %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%
+ .desktop .sh
+ %STARTDIR%=%GAMEDIR% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%
ags
ags