From 88604a962d0c0a240e264605eda1fbfe070cfdd8 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 12 Jul 2023 13:58:34 +0200 Subject: [PATCH] (Linux) Added support for launching AppImages directly to the desktop, emulators and ports systems --- resources/systems/macos/es_systems.xml | 2 +- resources/systems/unix/es_systems.xml | 13 +++++++++---- resources/systems/windows/es_systems.xml | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml index 75ad99819..52e694c41 100644 --- a/resources/systems/macos/es_systems.xml +++ b/resources/systems/macos/es_systems.xml @@ -1283,7 +1283,7 @@ Ports %ROMPATH%/ports .app .sh - %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% + %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% pc, pcwindows ports diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index b20d3bbdc..68ac7b4f6 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -439,9 +439,11 @@ desktop Desktop Applications %ROMPATH%/desktop - .desktop .sh + .AppImage .desktop .sh %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% %RUNINBACKGROUND% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% + %EMULATOR_OS-SHELL% -c "%ROM%" + %RUNINBACKGROUND% %EMULATOR_OS-SHELL% -c "%ROM%" pcwindows desktop @@ -506,9 +508,11 @@ emulators Emulators %ROMPATH%/emulators - .desktop .sh + .AppImage .desktop .sh %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% %RUNINBACKGROUND% %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% + %EMULATOR_OS-SHELL% -c "%ROM%" + %RUNINBACKGROUND% %EMULATOR_OS-SHELL% -c "%ROM%" pcwindows emulators @@ -1321,8 +1325,9 @@ ports Ports %ROMPATH%/ports - .desktop .sh - %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% + .AppImage .desktop .sh + %ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM% + %EMULATOR_OS-SHELL% -c "%ROM%" pc, pcwindows ports diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index 6eb077542..7b9258ad9 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -1322,7 +1322,7 @@ Ports %ROMPATH%\ports .bat .BAT .lnk .LNK - %HIDEWINDOW% %ESCAPESPECIALS% %EMULATOR_OS-SHELL% /C %ROM% + %HIDEWINDOW% %ESCAPESPECIALS% %EMULATOR_OS-SHELL% /C %ROM% pc, pcwindows ports