GuiMenu.cpp.patch fixed

This commit is contained in:
XargonWan 2023-08-23 15:16:53 +02:00
parent 69204c8ed1
commit dd3fd9b375

View file

@ -24,15 +24,15 @@ diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de/e
@@ -1910 +1912,14 @@ @@ -1910 +1912,14 @@
} }
+ +
++void GuiMenu::openRetroDeckConfigurator() +void GuiMenu::openRetroDeckConfigurator()
++{ +{
++ // Launch the configurator.sh script + // Launch the configurator.sh script
++ std::string command; + std::string command;
++ std::string startDirectory; + std::string startDirectory;
++ bool runInBackground; + bool runInBackground;
++ command = "bash /app/tools/configurator.sh"; + command = "bash /app/tools/configurator.sh";
++ startDirectory = "/app/tools"; + startDirectory = "/app/tools";
++ runInBackground = false; + runInBackground = false;
++ int result = Utils::Platform::launchGameUnix(command, startDirectory, runInBackground); + int result = Utils::Platform::launchGameUnix(command, startDirectory, runInBackground);
++ // You can add any checks for the script's outcome here. + // You can add any checks for the script's outcome here.
++} +}