app: use the tauri-app medallion icon on the window, taskbar and tray
record-daemon / Check and lint (Linux) (push) Successful in 1m12s
record-daemon / Build (Windows x64) (push) Successful in 1m44s

The exe carried no icon resource and the tray drew a stand-in disc, so
Explorer, the taskbar and the tray each guessed at what to show. The
old front end's medallion was already in the tree and identical to the
installer's icon.ico, so the whole shell now draws it: set_app_icon
feeds icons/icon_full.png to rune before the event loop, the tray
decodes the bundled 32 px, and build.rs bakes icon.ico into the exe
for Explorer and shortcuts. The 128 px variants stay in tauri-app,
which rune's own resizing makes redundant here.
This commit is contained in:
vhaudiquet committed 2026-11-21 19:19:58 +01:00
1 parent 6ca825990d
commit b173d75e98
7 files changed
+95 -40

No files matched your search

+44 -2
View File
@@ -1541,6 +1541,7 @@ dependencies = [
"chrono",
"directories",
"ffmpeg-sidecar",
"image",
"rune",
"rune-kit",
"rune-notify",
@@ -1551,6 +1552,7 @@ dependencies = [
"uuid",
"windows",
"winreg",
"winresource",
]
[[package]]
@@ -3068,6 +3070,15 @@ dependencies = [
"syn 3.0.10",
]
[[package]]
name = "serde_spanned"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782"
dependencies = [
"serde_core",
]
[[package]]
name = "shlex"
version = "2.0.1"
@@ -3553,6 +3564,21 @@ dependencies = [
"syn 3.0.10",
]
[[package]]
name = "toml"
version = "1.2.2+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5426cb1b964690d913f6c5c1a1ae0b42f428ec506bb4d452876d7a209c9bca3b"
dependencies = [
"indexmap",
"serde_core",
"serde_spanned",
"toml_datetime",
"toml_parser",
"toml_writer",
"winnow",
]
[[package]]
name = "toml_datetime"
version = "1.1.3+spec-1.1.0"
@@ -3576,13 +3602,19 @@ dependencies = [
[[package]]
name = "toml_parser"
version = "1.1.5+spec-1.1.0"
version = "1.1.6+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
checksum = "e6769c452d71ba30696c6b37770c439a9cc9110f47f7d5cdbeda79840ef5ea31"
dependencies = [
"winnow",
]
[[package]]
name = "toml_writer"
version = "1.2.0+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a"
[[package]]
name = "tracing"
version = "0.1.44"
@@ -4432,6 +4464,16 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "winresource"
version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2bc6d36480b829272a5bdabf08e6dca8004761c1da7e35efef800540c66221b"
dependencies = [
"toml",
"version_check",
]
[[package]]
name = "wit-bindgen"
version = "0.57.1"