diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 15:53:02 -0400 |
|---|---|---|
| committer | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 15:53:02 -0400 |
| commit | f6f77d775977ad17cdc73338d0f90d05a13cbfc2 (patch) | |
| tree | 1ee171816eb537e7969808e65b8a7e4dbc097209 /src | |
| parent | 01e4a99ef2409666883ede7886169c96dc6b46fb (diff) | |
| download | decky-lsfg-vk-f6f77d775977ad17cdc73338d0f90d05a13cbfc2.tar.gz decky-lsfg-vk-f6f77d775977ad17cdc73338d0f90d05a13cbfc2.zip | |
fix: normalize released flatpak target paths
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/steamLaunchOptions.ts | 4 |
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 { |
