Skip to content

Commit

Permalink
Remove faulty Windows version check
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Mar 10, 2024
1 parent 543a902 commit d2412b0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ public static Optional<GameDist> getDist(Game g, Path dir) {
return Optional.empty();
}

if (!SystemUtils.IS_OS_WINDOWS_10 && !SystemUtils.IS_OS_WINDOWS_8) {
return Optional.empty();
}

// Prevent querying for appx-package if we can rule out that the given dir is a windows store dist
if (dir != null && !dir.toString().contains("WindowsApps")) {
return Optional.empty();
Expand Down

0 comments on commit d2412b0

Please sign in to comment.