Skip to content

Conversation

arielj
Copy link
Collaborator

@arielj arielj commented Aug 7, 2025

Fixes #4853

Currently, if there's no areweanticheatyet.json info file, launching a game fails because we print the anticheat info in the logs.

This catches that error so launching continues as usual.

I could check for the file existence, but I don't know if there are other possible read errors so better to just try/catch it.


Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@arielj arielj requested review from a team, CommandMC, Etaash-mathamsetty, biliesilva and flavioislima and removed request for a team August 7, 2025 23:09
@arielj arielj added the pr:ready-for-review Feature-complete, ready for the grind! :P label Aug 7, 2025
@arielj arielj requested review from Nocccer and imLinguin August 7, 2025 23:09
@CommandMC CommandMC force-pushed the fix-launching-game-with-no-anticheat-info branch from 585c152 to b0d81ae Compare August 7, 2025 23:30
@CommandMC CommandMC merged commit 529b44a into main Oct 18, 2025
9 checks passed
@CommandMC CommandMC deleted the fix-launching-game-with-no-anticheat-info branch October 18, 2025 18:39
@Heroic-Games-Launcher Heroic-Games-Launcher locked and limited conversation to collaborators Oct 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pr:ready-for-review Feature-complete, ready for the grind! :P

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heroic log prompt: no such file or directory…

3 participants