| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  | diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de/es-app/src/guis/GuiMenu.cpp
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | --- emulationstation-de/es-app/src/guis/GuiMenu.cpp	2023-04-12 09:08:12.394935336 -0400
 | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  | +++ emulationstation-de/es-app/src/guis/GuiMenu.cpp	2023-04-12 16:25:04.618753274 -0400
 | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -10,2 +10,3 @@
 | 
					
						
							|  |  |  |  #include "guis/GuiMenu.h" | 
					
						
							|  |  |  | +#include "utils/PlatformUtil.h"
 | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  |   | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -66,2 +67,4 @@
 | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  |   | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | +    addEntry("RETRODECK CONFIGURATOR", 0x777777FF, false, [this] { openRetroDeckConfigurator(); });
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | +
 | 
					
						
							|  |  |  |      if (!Settings::getInstance()->getBool("ForceKiosk") && | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -69,3 +72,3 @@
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  |  #if defined(__APPLE__) | 
					
						
							|  |  |  | -        addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
 | 
					
						
							|  |  |  | +        addEntry("QUIT RETRODECK", 0x777777FF, false, [this] { openQuitMenu(); });
 | 
					
						
							|  |  |  |  #else | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -74,3 +77,3 @@
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  |          else | 
					
						
							|  |  |  | -            addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
 | 
					
						
							|  |  |  | +            addEntry("QUIT RETRODECK", 0x777777FF, false, [this] { openQuitMenu(); });
 | 
					
						
							|  |  |  |  #endif | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -1704,2 +1707,15 @@
 | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  |   | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | +void GuiMenu::openRetroDeckConfigurator()
 | 
					
						
							|  |  |  | +{
 | 
					
						
							|  |  |  | +    // Launch the configurator.sh script
 | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | +    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);
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | +    // You can add any checks for the script's outcome here.
 | 
					
						
							|  |  |  | +}
 | 
					
						
							|  |  |  | +
 | 
					
						
							|  |  |  |  void GuiMenu::openQuitMenu() | 
					
						
							| 
									
										
										
										
											2023-04-13 13:26:04 +00:00
										 |  |  | @@ -1732,3 +1748,3 @@
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  |          }); | 
					
						
							|  |  |  | -        auto quitText = std::make_shared<TextComponent>("QUIT EMULATIONSTATION",
 | 
					
						
							|  |  |  | +        auto quitText = std::make_shared<TextComponent>("QUIT RETRODECK",
 | 
					
						
							|  |  |  |                                                          Font::get(FONT_SIZE_MEDIUM), 0x777777FF); | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  | diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.h emulationstation-de/es-app/src/guis/GuiMenu.h
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | --- emulationstation-de/es-app/src/guis/GuiMenu.h	2023-04-12 09:08:12.394935336 -0400
 | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  | +++ emulationstation-de/es-app/src/guis/GuiMenu.h	2023-04-12 09:33:25.023871033 -0400
 | 
					
						
							| 
									
										
										
										
											2023-04-12 14:11:00 +00:00
										 |  |  | @@ -46,2 +46,3 @@
 | 
					
						
							|  |  |  |      void openOtherOptions(); | 
					
						
							|  |  |  | +    void openRetroDeckConfigurator();
 | 
					
						
							|  |  |  |      void openQuitMenu(); | 
					
						
							| 
									
										
										
										
											2023-04-14 15:07:41 +00:00
										 |  |  | diff -au1r emulationstation-de/es-core/src/Window.cpp emulationstation-de/es-core/src/Window.cpp
 | 
					
						
							|  |  |  | --- emulationstation-de/es-core/src/Window.cpp	2023-04-12 09:08:12.398268670 -0400
 | 
					
						
							|  |  |  | +++ emulationstation-de/es-core/src/Window.cpp	2023-04-14 11:03:48.261309278 -0400
 | 
					
						
							|  |  |  | @@ -179,3 +179,3 @@
 | 
					
						
							|  |  |  |      progressBarRect.barPosY += borderThickness; | 
					
						
							|  |  |  | -    progressBarRect.color = 0x79010FFF;
 | 
					
						
							|  |  |  | +    progressBarRect.color = 0xC858E6FF;
 | 
					
						
							|  |  |  |      mProgressBarRectangles.emplace_back(progressBarRect); |