fix(desktop): set window caption color if Windows version >= 11 (#3939)

This commit is contained in:
Timotej
2024-04-16 14:21:26 +02:00
committed by GitHub
parent 1b0802b0e6
commit 9fb6e59e36
3 changed files with 29 additions and 9 deletions

View File

@@ -1274,6 +1274,7 @@ dependencies = [
"tauri-plugin-window-state",
"url",
"windows 0.52.0",
"winver",
]
[[package]]
@@ -4415,6 +4416,15 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "winver"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e0e7162b9e282fd75a0a832cce93994bdb21208d848a418cd05a5fdd9b9ab33"
dependencies = [
"windows 0.48.0",
]
[[package]]
name = "wry"
version = "0.24.6"