mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 16:42:13 +03:00
0c1ecc0fad
This commit implements the deprecated NSUserNotification bits needed to be able to handle clicking on a notification and open our choice of URL. Ideally we'd use the newer UserNotifications framework, but that requires code signing.
6 lines
125 B
Rust
6 lines
125 B
Rust
fn main() {
|
|
if cfg!(target_os = "macos") {
|
|
println!("cargo:rustc-link-lib=framework=UserNotifications");
|
|
}
|
|
}
|