diff --git a/README.md b/README.md index 47c45fe..89ad7bc 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This launcher is also available as the [an-anime-game-launcher](https://aur.arch -### 2.3.0 — 43 total +### 2.3.0 — 50 total diff --git a/repository-pics/stats/2.3.0.png b/repository-pics/stats/2.3.0.png index f4946dc..f986f1d 100644 Binary files a/repository-pics/stats/2.3.0.png and b/repository-pics/stats/2.3.0.png differ diff --git a/src/ts/settings.ts b/src/ts/settings.ts index 8ace0ba..79f95c4 100644 --- a/src/ts/settings.ts +++ b/src/ts/settings.ts @@ -257,11 +257,11 @@ $(() => { if (gpus) { - console.log(gpus); - for (const gpu of gpus.value) $(`
  • ${gpu.Name.value}
  • `).appendTo('#gpu .select-options ul'); + console.log(`Selected GPU: ${LauncherLib.getConfig('gpu')}`); + SwitcherooControl.getGpuByName(LauncherLib.getConfig('gpu')).then((gpu) => { if (gpu) {