freeCodeCamp / LearnToCodeRPG

A visual novel video game where you learn to code and get a dev job 🎯
https://www.freecodecamp.org/news/learn-to-code-rpg-1-5-update/
BSD 3-Clause "New" or "Revised" License
1.05k stars 110 forks source link

Prevent crashes if the version can't be read #101

Closed a2937 closed 1 year ago

a2937 commented 1 year ago

There's two potential causes for failure. Fail condition one: the local version info in version.txt can't be read. Fail condition number two: itch.io can't be reached. Either way it will crash. This fixes both of them.

Checklist:

Closes #95

RuolinZheng08 commented 1 year ago

Thanks! I addressed this same issue in e9cd7ff2dfde285a6e23a37c5283479fccd64baf.