mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +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 @@
|
@@ -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.
|
||||||
++}
|
+}
|
||||||
|
|
Loading…
Reference in a new issue