add windows theme source and platform icon resolvers

This commit is contained in:
2026-10-31 08:56:57 +07:00
parent c45f939211
commit d53f4e290d
13 changed files with 895 additions and 36 deletions
+13 -1
View File
@@ -13,11 +13,23 @@ toml = "0.8"
[dev-dependencies]
gpui = { workspace = true, features = ["test-support"] }
[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
async-channel = "2"
[target.'cfg(target_os = "linux")'.dependencies]
notify = "8"
zbus = "5"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62", features = [
"Foundation",
"UI",
"UI_ViewManagement",
"Win32_Foundation",
"Win32_System_Com",
] }
windows-registry = "0.6"
[target.'cfg(target_os = "macos")'.dependencies]
block2 = "0.6"
objc2 = "0.6"