fix(windows): give the launcher's exe its product, publisher and version #423
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!423
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/windows-version-info"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Windows launcher says nothing about itself: no product, publisher or version in the file's properties. It is also unsigned and often flagged by antivirus, and this may help a little with that heuristic guesswork (Longshot #46). It does not replace code signing, and no effect on detections has been measured.
What changes
build.rsappends aVERSIONINFOresource toassets/windows/launcher.rc:LONGSHOT_TAG), elsedevvX.Y.Zis X.Y.Z.0,nightly-<count>-<commit>is 0.0.count.0, else 0.0.0.0Windows also shows FileDescription as the program's name in Task Manager and similar places. Linux builds are unchanged.
Testing
On Linux, cross-building
x86_64-pc-windows-gnullvmwith the pinned llvm-mingw 20261104:nightly-277-cd9aad02,v1.3.1and none: the built exe's strings and numeric version are as in the table. Changing only the tag rebuilds the resource.--self-checkunder Wine answers with the tag.cargo fmt --check, Clippy (Linux, and the Windows binary),tests/test_launcher_core.pyand Tooling'stest_release.pypass.Not tested: the file's properties dialog on real Windows.
🤖 Generated with Claude Code
Possibly related, for context: