- Add transparent titlebar configuration in tauri.conf.json - Implement macOS titlebar background color matching main UI banner (#3498db) - Replace deprecated cocoa crate with modern objc2-app-kit - Preserve native window functionality (drag, traffic lights) - Remove all deprecation warnings from build process The titlebar now seamlessly matches the application's blue theme while maintaining all native macOS window management features.
33 lines
751 B
TOML
33 lines
751 B
TOML
[package]
|
|
name = "app"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.4.0", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.8.2", features = [] }
|
|
tauri-plugin-log = "2"
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-opener = "2"
|
|
dirs = "5.0"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.5"
|
|
objc2-app-kit = { version = "0.2", features = ["NSColor"] }
|