Skip to content

Commit

Permalink
properly show support status for my games
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmsu committed May 4, 2024
1 parent 1eb7df3 commit 11358f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ts/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export class Launcher {
option.defaultSelected = offer.pc === preferred;
gamePC.appendChild(option);
const exe = GameID.tryGetExe(offer.Uri);
if (offer.Support === "OK") {
supportStatus.style.display = "none";
}
if (exe === null) {
console.warn("No executable found in game URI", offer.Uri);
continue;
Expand Down

0 comments on commit 11358f8

Please sign in to comment.