fix: store installs stay shortcuts instead of becoming Steam installs (#816)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-14 10:10:12 -04:00
1 parent fed9474539
commit 0f084d1bab
4 files changed
+61 -1

No files matched your search

@@ -392,6 +392,7 @@ object AddedGames {
.append(",\"dir\":").append(quote(g.guestDir)).append(",\"appid\":").append(g.appId)
.append(",\"seen\":").append(SessionPrefs.addedGameExeSeen(context, g.folder.path))
if (g.launchOptions.isNotEmpty()) json.append(",\"launch\":").append(quote(g.launchOptions))
if (g.source != Library.ADDED) json.append(",\"store\":").append(quote(g.source))
val art = AddedGameArt.resolve(context, g)
val pieces = listOf("p" to art.portrait, "header" to art.header, "hero" to art.hero, "logo" to art.logo, "icon" to art.icon)
.mapNotNull { (k, f) -> f?.let { file -> artGuestPath(context, file)?.let { k to it } } }