forked from unom/punktfunk
polish(clients/windows): name the session exe "Punktfunk Session" in its version info
UAC prompts, Task Manager and Properties→Details show FileDescription; without one the exe appeared as its raw filename. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,11 @@ fn main() {
|
||||
winresource::WindowsResource::new()
|
||||
// Ordinal 1 — pf-presenter's win32.rs loads it by this id for WM_SETICON.
|
||||
.set_icon_with_id(icon, "1")
|
||||
// The version-info strings Windows surfaces for the bare exe — UAC prompts,
|
||||
// Task Manager and Properties→Details all show FileDescription (without one
|
||||
// the exe appears as its raw filename).
|
||||
.set("FileDescription", "Punktfunk Session")
|
||||
.set("ProductName", "Punktfunk")
|
||||
.compile()
|
||||
.expect("embed windows icon resource");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user