From 7738211df305bb6fc373b7ebac1c5904c88d4930 Mon Sep 17 00:00:00 2001 From: zWolfrost Date: Sat, 3 Feb 2024 15:23:47 +0100 Subject: [PATCH] fix steam flatpak installation check whether flatpak steam is installed will now be verified through its actual install folder instead of the one with the configurations --- sgdboop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sgdboop.c b/sgdboop.c index 915593e..71eb8ec 100644 --- a/sgdboop.c +++ b/sgdboop.c @@ -390,8 +390,7 @@ char* getSteamBaseDir() { strcpy(steamBaseDir, getenv("HOME")); char steamFlatpakDir[MAX_PATH]; - strcpy(steamFlatpakDir, getenv("HOME")); - strcat(steamFlatpakDir, "/.var/app/com.valvesoftware.Steam/data/Steam"); + strcpy(steamFlatpakDir, "/var/lib/flatpak/app/com.valvesoftware.Steam"); // If flatpaked Steam is installed if (access(steamFlatpakDir, 0) == 0) {