mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-12 13:15:37 +00:00
After unpacking a portable app, the launcher checks the exe's ProductVersion against the release. It started a hidden powershell.exe -NoLogo -NoProfile -NonInteractive -Command to read FileVersionInfo.ProductVersion, which costs a PowerShell start on every portable install and is one of the command lines antivirus heuristics score. executable_version now reads the ProductVersion string from the file's VERSIONINFO with GetFileVersionInfo and VerQueryValue (winsafe), in the first language the file lists, and no process is started.