Skip to content

Read executable versions on Linux - #24394

Open
SPTApyo wants to merge 1 commit into
Nexus-Mods:masterfrom
SPTApyo:fix/linux-exe-version
Open

SPTApyo wants to merge 1 commit into
Nexus-Mods:masterfrom
SPTApyo:fix/linux-exe-version

Conversation

@SPTApyo

@SPTApyo SPTApyo commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

exe-version is a pure TypeScript PE parser now, but it still returned an empty string outside Windows. So on Linux the game version was always empty, and anything comparing exe versions (script extender installer, FNIS, the LOOT version report) got nothing.

This drops the platform checks. Added two tests that read divine.exe from the BG3 extension, since the existing ones use System32 files and only run on Windows.

Checked in the app with the Cyberpunk extension pointed at a real install: getInstalledVersion now returns 2.3.1.0 instead of "".

@SPTApyo
SPTApyo requested a review from a team as a code owner October 4, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant