mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
GuiMenu.cpp.patch fixed
This commit is contained in:
parent
69204c8ed1
commit
dd3fd9b375
|
@ -24,15 +24,15 @@ diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de/e
|
|||
@@ -1910 +1912,14 @@
|
||||
}
|
||||
+
|
||||
++void GuiMenu::openRetroDeckConfigurator()
|
||||
++{
|
||||
++ // Launch the configurator.sh script
|
||||
++ std::string command;
|
||||
++ std::string startDirectory;
|
||||
++ bool runInBackground;
|
||||
++ command = "bash /app/tools/configurator.sh";
|
||||
++ startDirectory = "/app/tools";
|
||||
++ runInBackground = false;
|
||||
++ int result = Utils::Platform::launchGameUnix(command, startDirectory, runInBackground);
|
||||
++ // You can add any checks for the script's outcome here.
|
||||
++}
|
||||
+void GuiMenu::openRetroDeckConfigurator()
|
||||
+{
|
||||
+ // Launch the configurator.sh script
|
||||
+ std::string command;
|
||||
+ std::string startDirectory;
|
||||
+ bool runInBackground;
|
||||
+ command = "bash /app/tools/configurator.sh";
|
||||
+ startDirectory = "/app/tools";
|
||||
+ runInBackground = false;
|
||||
+ int result = Utils::Platform::launchGameUnix(command, startDirectory, runInBackground);
|
||||
+ // You can add any checks for the script's outcome here.
|
||||
+}
|
||||
|
|
Loading…
Reference in a new issue