feat(host/windows): "Punktfunk Host" identity in Task Manager (icon + version info)

punktfunk-host.exe embedded no icon or version resources, so Task Manager and
Explorer showed a bare lowercase exe name with a generic icon. build.rs now
embeds the branded .ico + FileDescription "Punktfunk Host" / ProductName
"Punktfunk" via winresource (same pattern as the Windows client and the tray;
Linux packaging builds skip the block). The tray gets a matching "Punktfunk
Tray" description, and the SCM display name moves off lowercase
"punktfunk streaming host" to "Punktfunk Host" (applied idempotently by
`service install` on upgrade).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 13:52:55 +00:00
parent 4d1d20f832
commit 1be83575b6
5 changed files with 127 additions and 5 deletions
+3
View File
@@ -22,6 +22,9 @@ fn main() {
println!("cargo:rerun-if-changed={path}");
res.set_icon_with_id(path, id);
}
// Task Manager / Explorer identity (matches the host's "Punktfunk Host").
res.set("FileDescription", "Punktfunk Tray");
res.set("ProductName", "Punktfunk");
res.compile().expect("embed windows icon resources");
}
}