Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
Fix some Uplay games not being found
Browse files Browse the repository at this point in the history
  • Loading branch information
doZennn committed Sep 12, 2019
1 parent a0ee4fa commit 1bacb82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/importers/Uplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ class Uplay {
this.resolveConfigPath(exe.working_directory).then((workingDir) => {
if (workingDir) {
// check if exe is actually there
if (fs.existsSync(path.join(workingDir, exePath))) {
resolve(path.join(workingDir, exePath));
if (fs.existsSync(path.join(workingDir, append, exePath))) {
resolve(path.join(workingDir, append, exePath));
} else {
resolve(false);
}
Expand Down

0 comments on commit 1bacb82

Please sign in to comment.