mirror of
https://github.com/amiayweb/Hytale-F2P.git
synced 2026-02-26 09:01:44 -03:00
feat: Implement GPU preference system with auto-detection and UI enhancements (#82)
* feat: add GPU options for launcher - Add GPU preference setting (Auto/Integrated/Dedicated) - Implement Linux GPU selection with DRI_PRIME and NVIDIA env vars - Add GPU detection using Electron's app.getGPUInfo() - Update settings UI with GPU preference dropdown - Integrate GPU preference into game launch process * feat: detailed GPU info in auto-detection feature on startup * add gpudetection feature to launcher backend * feat: detailed GPU info in auto-detection feature on startup * feat: auto-detect dedicated GPU on hybrid laptops (iGPU+dGPU) * add fallbacks to and option to use integrated GPU * add package-lock and fix deps version * changed 'Nvidia' string to 'NVIDIA' * fix: selecting `dedicated` option while using nvidia GPU did not set its specific env variables * remove unused `CONFIG_FILE` variable on launcher core modules * fix: duplicated save-load gpu detection functions * move game option settings to the top, while custom java to the bottom * fix: settings-header margin-bottom from 3rem to 1rem and supress line-clamp warning
This commit is contained in: