fix(game-launcher): add ~/.local/share/Steam to steam roots for NixOS support (#159)
* game-launcher: add launcher toggles, keyboard nav, auto-refresh * game-launcher: update README with runner toggle settings * fix: remove duplicate translation keys after upstream merge * fix(game-launcher): add ~/.local/share/Steam to steam roots for NixOS support * chore(game-launcher): bump version to 1.1.1 --------- Co-authored-by: Ahmed5Emad <ahmed5emad@users.noreply.github.com>
This commit is contained in:
@@ -262,6 +262,7 @@ void scan_steam() {
|
|||||||
const char *steam_roots[] = {
|
const char *steam_roots[] = {
|
||||||
"/Steam",
|
"/Steam",
|
||||||
"/.steam/steam",
|
"/.steam/steam",
|
||||||
|
"/.local/share/Steam",
|
||||||
"/.var/app/com.valvesoftware.Steam/.local/share/Steam",
|
"/.var/app/com.valvesoftware.Steam/.local/share/Steam",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
@@ -987,6 +988,7 @@ int cache_valid() {
|
|||||||
|
|
||||||
const char *steam_roots[] = {
|
const char *steam_roots[] = {
|
||||||
"/Steam", "/.steam/steam",
|
"/Steam", "/.steam/steam",
|
||||||
|
"/.local/share/Steam",
|
||||||
"/.var/app/com.valvesoftware.Steam/.local/share/Steam", NULL
|
"/.var/app/com.valvesoftware.Steam/.local/share/Steam", NULL
|
||||||
};
|
};
|
||||||
for (int r = 0; steam_roots[r]; r++) {
|
for (int r = 0; steam_roots[r]; r++) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
id = "alexander/game-launcher"
|
id = "alexander/game-launcher"
|
||||||
name = "Game Launcher"
|
name = "Game Launcher"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
plugin_api = 13
|
plugin_api = 13
|
||||||
author = "Alexander"
|
author = "Alexander"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user