Skip to content

Commit

Permalink
fix steam flatpak installation check
Browse files Browse the repository at this point in the history
whether flatpak steam is installed will now be verified through its actual install folder instead of the one with the configurations
  • Loading branch information
zWolfrost authored and doZennn committed Feb 10, 2024
1 parent 8a3d5dd commit 7738211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sgdboop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7738211

Please sign in to comment.