From ca5767e57f10c2be3b30488a314c973d05835341 Mon Sep 17 00:00:00 2001 From: ParantezTech <12572227+par274@users.noreply.github.com> Date: Sat, 19 Sep 2026 23:18:12 +0300 Subject: [PATCH] [GUI] Added Custom Environment Variables dialog and settings --- .../CustomEnvironmentDialog.axaml | 76 +++++++++++++++ .../CustomEnvironmentDialog.axaml.cs | 92 +++++++++++++++++++ .../CustomEnvironmentVariables.cs | 70 ++++++++++++++ .../GlobalCustomEnvironmentSettings.cs | 58 ++++++++++++ src/SharpEmu.GUI/GuiSettings.cs | 3 + src/SharpEmu.GUI/Languages/ar.json | 16 ++++ src/SharpEmu.GUI/Languages/br.json | 16 ++++ src/SharpEmu.GUI/Languages/de.json | 16 ++++ src/SharpEmu.GUI/Languages/dk.json | 16 ++++ src/SharpEmu.GUI/Languages/ee.json | 16 ++++ src/SharpEmu.GUI/Languages/en.json | 16 ++++ src/SharpEmu.GUI/Languages/es.json | 16 ++++ src/SharpEmu.GUI/Languages/fr.json | 16 ++++ src/SharpEmu.GUI/Languages/hu.json | 16 ++++ src/SharpEmu.GUI/Languages/it.json | 16 ++++ src/SharpEmu.GUI/Languages/ja.json | 16 ++++ src/SharpEmu.GUI/Languages/ko.json | 16 ++++ src/SharpEmu.GUI/Languages/nl.json | 16 ++++ src/SharpEmu.GUI/Languages/pl.json | 16 ++++ src/SharpEmu.GUI/Languages/pt.json | 16 ++++ src/SharpEmu.GUI/Languages/ru.json | 16 ++++ src/SharpEmu.GUI/Languages/tr.json | 16 ++++ src/SharpEmu.GUI/MainWindow.GameOptions.cs | 1 + src/SharpEmu.GUI/MainWindow.axaml | 22 +++++ src/SharpEmu.GUI/MainWindow.axaml.cs | 88 ++++++++++++++++-- src/SharpEmu.GUI/PerGameSettings.cs | 12 ++- src/SharpEmu.GUI/ProjectLinks.cs | 19 ++++ 27 files changed, 703 insertions(+), 10 deletions(-) create mode 100644 src/SharpEmu.GUI/CustomEnvironmentDialog.axaml create mode 100644 src/SharpEmu.GUI/CustomEnvironmentDialog.axaml.cs create mode 100644 src/SharpEmu.GUI/CustomEnvironmentVariables.cs create mode 100644 src/SharpEmu.GUI/GlobalCustomEnvironmentSettings.cs create mode 100644 src/SharpEmu.GUI/ProjectLinks.cs diff --git a/src/SharpEmu.GUI/CustomEnvironmentDialog.axaml b/src/SharpEmu.GUI/CustomEnvironmentDialog.axaml new file mode 100644 index 0000000..97e0fc5 --- /dev/null +++ b/src/SharpEmu.GUI/CustomEnvironmentDialog.axaml @@ -0,0 +1,76 @@ + + + + + + + + +