Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Changed overlooked line
Browse files Browse the repository at this point in the history
  • Loading branch information
jota11 committed Aug 21, 2021
1 parent bcf6268 commit b497eca
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions modules/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,8 @@ class Config {
//Linux solution is untested
const homedir = process.env.HOME;
const steamPaths = [".steam/steam", ".local/share/steam"];
for (const pathGroup of steamPaths) {
let existingPath = await getExistingPath(pathGroup["paths"]);
basedir = path.join(homedir, existingPath);
if (basedir != "") {
break;
}
}
let existingPath = await getExistingPath(steamPaths);
basedir = path.join(homedir, existingPath);
}
else {
basedir = "";
Expand Down

0 comments on commit b497eca

Please sign in to comment.