From a22605863b50a34748035717ae8ec76082c0e368 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 30 Apr 2023 11:42:01 +0200 Subject: [PATCH] Added the .sh file extension to the ags system on Unix and macOS and set the %STARTDIR% variable to the game directory --- resources/systems/macos/es_systems.xml | 4 ++-- resources/systems/unix/es_systems.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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