mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 23:28:12 +08:00
Desktop: Add taskbar icon on Windows (#3225)
* include icon as resource on windows * load icon
This commit is contained in:
+4
-1
@@ -48,7 +48,7 @@ serde = { workspace = true }
|
||||
ash = { version = "0.38", optional = true }
|
||||
|
||||
# Windows-specific dependencies
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows = { version = "0.58.0", features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_Graphics_Direct3D11",
|
||||
@@ -72,3 +72,6 @@ core-foundation = { version = "0.9", optional = true }
|
||||
# Linux-specific dependencies
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
libc = { version = "0.2", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.build-dependencies]
|
||||
winres = "0.1"
|
||||
|
||||
Reference in New Issue
Block a user