mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-12-05 08:15:41 -08:00
Show the app's icon in the macOS Dock and bring its window to the front
AI Assisted
This commit is contained in:
1 parent
ddbc85f73d
commit
59d226c2a6
3 files changed
+99
No files matched your search
@@ -28,6 +28,13 @@ reqwest = { version = "0.13", default-features = false, features = ["blocking",
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
# Already pulled in by tauri itself; named directly here only to set the Dock
|
||||
# icon (`set_app_icon` in main.rs), which tauri does for dev builds alone.
|
||||
objc2 = "0.6"
|
||||
objc2-app-kit = { version = "0.3", default-features = false, features = ["std", "NSApplication", "NSImage", "NSResponder"] }
|
||||
objc2-foundation = { version = "0.3", default-features = false, features = ["std", "NSData", "NSGeometry"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
# Already pulled in by portable-pty itself; named directly here only for the
|
||||
# Job Object APIs it does not expose (ending a `cmd /c` npm shim's whole
|
||||
|
||||
Reference in new issue
Block a user