ListVersions sorts entries with semver.rcompare on the raw string from the game binary's -v probe. Unreleased or custom builds can emit nonstandard version strings that semver.rcompare rejects with a thrown exception, producing a white screen.
The register-a-folder feature (#138) makes this path more common, since its stated use case is pointing at unreleased builds. Guard the sort with semver.valid() or semver.coerce() before comparing, and push unparseable entries to the end of the list instead of crashing.
ListVersions sorts entries with
semver.rcompareon the raw string from the game binary's-vprobe. Unreleased or custom builds can emit nonstandard version strings thatsemver.rcomparerejects with a thrown exception, producing a white screen.The register-a-folder feature (#138) makes this path more common, since its stated use case is pointing at unreleased builds. Guard the sort with
semver.valid()orsemver.coerce()before comparing, and push unparseable entries to the end of the list instead of crashing.