From f0f19f690fa31e41c2f8a06cefa9a88582708953 Mon Sep 17 00:00:00 2001 From: Rahul-Sahani04 <110347707+Rahul-Sahani04@users.noreply.github.com> Date: Sun, 25 Jan 2026 21:08:47 +0530 Subject: [PATCH] feat: Add option to toggle hardware acceleration for launcher #170 --- .gitignore | 3 +- GUI/index.html | 406 ++++++++++++++++++++++------------------- GUI/js/settings.js | 204 ++++++++++++--------- GUI/locales/en.json | 8 +- backend/core/config.js | 20 +- backend/launcher.js | 18 +- main.js | 66 ++++--- preload.js | 5 + 8 files changed, 422 insertions(+), 308 deletions(-) diff --git a/.gitignore b/.gitignore index 2c6b018..c3f4c5a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ backend/patcher/ # macOS Specific .DS_Store -*.zst.DS_Store \ No newline at end of file +*.zst.DS_Store +bun.lock diff --git a/GUI/index.html b/GUI/index.html index bae3b7f..5b4d13d 100644 --- a/GUI/index.html +++ b/GUI/index.html @@ -127,17 +127,20 @@
@@ -361,226 +364,247 @@
- +
- - - - + + + +

- Switch between stable release and experimental pre-release versions + Switch between stable release and + experimental pre-release versions

- Changing branch will download and install a different game version + Changing branch will download + and install a different game version

- -
- - - - - - -
-

- - Select your preferred GPU (Linux: - affects DRI_PRIME) -

-
+ +
+ + + + + +
+

+ + Select your preferred GPU (Linux: + affects DRI_PRIME) +

+
+ -
-

- - Player UUID Management -

+
+

+ + Player UUID Management +

-
-
- -
- - - -
-

- - Your unique player identifier for - this username -

-
-
- -
-
- +
+

+ + Your unique player identifier for + this username +

-
-

- - Discord Integration -

- -
-
-
-
-
-
-

- - SYSTEM LOGS -

-
- - - +
+

+ + Discord Integration +

+ +
+
-
-
Loading - logs...
+ +
+

+ + Launcher Behavior +

+ +
+ +
+
+ +
+
+ + +
+

+ + Java Runtime +

+ +
+ +
+ + +
+ +
+

+ + Language +

+ +
+
+ + +
+
+ +
+
+
+

+ + SYSTEM LOGS +

+
+ + + +
+
+
+
Loading + logs...
+
+
+
+
@@ -602,7 +626,7 @@
-