summaryrefslogtreecommitdiff
path: root/src/utils/steamLaunchOptions.ts
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 15:53:02 -0400
committerKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-10 15:53:02 -0400
commitf6f77d775977ad17cdc73338d0f90d05a13cbfc2 (patch)
tree1ee171816eb537e7969808e65b8a7e4dbc097209 /src/utils/steamLaunchOptions.ts
parent01e4a99ef2409666883ede7886169c96dc6b46fb (diff)
downloaddecky-lsfg-vk-f6f77d775977ad17cdc73338d0f90d05a13cbfc2.tar.gz
decky-lsfg-vk-f6f77d775977ad17cdc73338d0f90d05a13cbfc2.zip
fix: normalize released flatpak target paths
Diffstat (limited to 'src/utils/steamLaunchOptions.ts')
-rw-r--r--src/utils/steamLaunchOptions.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/steamLaunchOptions.ts b/src/utils/steamLaunchOptions.ts
index 08ae136..685dcf9 100644
--- a/src/utils/steamLaunchOptions.ts
+++ b/src/utils/steamLaunchOptions.ts
@@ -162,7 +162,9 @@ const isWrapperToken = (value: string, wrapperPath: string) => decodeToken(value
function flatpakExecutable(value: string): string | undefined {
const decoded = decodeToken(value.trim());
- return decoded === "flatpak" || decoded === "/usr/bin/flatpak" ? "/usr/bin/flatpak" : undefined;
+ return decoded === "flatpak" || decoded === "/usr/bin/flatpak" || decoded === "usr/bin/flatpak"
+ ? "/usr/bin/flatpak"
+ : undefined;
}
function wrappedFlatpakExecutable(target: string, wrapperPath: string, includeLegacy = true): string | undefined {