feat: add custom traffic light inset for macos

This commit is contained in:
2024-03-29 13:26:35 +07:00
parent a02e496b29
commit 7271e9ea87
4 changed files with 362 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ tauri-plugin-window-state = "2.0.0-beta"
webpage = { version = "2.0", features = ["serde"] }
keyring = "2"
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.25.0"
objc = "0.2.7"
rand = "0.8.5"
[profile.release]
codegen-units = 1
lto = true