summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {