mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
Games: old Games folders become entries, not Steam libraries (#542)
Games folders saved before the settings section went away were still registered as Steam libraries on Automatic, with no way left to remove them. Once, at app start and before any scan, each game such a folder listed becomes an entry of its own, keeping everything keyed by its folder (chosen exe, shortcut appid, name, Start in, launch options, art, removal); store installs and steamapps are skipped. The folders stay bound at their old guest paths, so no shortcut changes, and the saved roots are cleared. A Games folder stays a library only when Steam installed a game into it; the others leave the library list, and the runtime forgets them.
This commit is contained in:
1 parent
fe60b3c279
commit
abbcb8e3ad
12 files changed
+266
-30
No files matched your search
@@ -23,8 +23,15 @@ Steam client that runs under `droiddeck-proton-arm64`. They show with the Custom
|
||||
already listed are counted, not added. A summary follows: games added, how many were
|
||||
there already, one row per game (cover, name, exe, "?" when unsure); a row opens that
|
||||
game's editor, straight on Target when unsure, with back to the summary.
|
||||
- Games folders added before this (Steam settings had a Games section) keep listing their
|
||||
games; there is no place to add a new one.
|
||||
- Games folders added before this (Steam settings had a Games section) are migrated once
|
||||
(`GamesFolderMigration`, at app start and before any scan): each game in one becomes an entry
|
||||
as "Add all games in this folder" would make it, keeping everything keyed by its folder (the
|
||||
chosen exe, the shortcut appid, name, Start in, launch options, art, a removal). The folders
|
||||
stay bound into the session at the guest paths they had (`/root/Games/<name>`,
|
||||
`SessionPrefs.gameFolderBinds`), so no exe path or shortcut changes. They are no longer Steam
|
||||
libraries - the session's library list leaves them out and `droiddeck-steam-library` forgets
|
||||
them - unless Steam installed a game into one (a manifest in its `steamapps/`), which then
|
||||
stays a library. Log: `games: migrated <root> → N games`.
|
||||
|
||||
## Exe and name
|
||||
|
||||
|
||||
Reference in new issue
Block a user