Skip to content

Commit c3f5526

Browse files
authored
fix(desktop): use native system notifications (#109901)
* fix(desktop): use native system notifications * fix(desktop): declare notification dependency MSRV * fix(desktop): select notification backends per platform
1 parent 9b5eb04 commit c3f5526

6 files changed

Lines changed: 282 additions & 74 deletions

File tree

‎apps/linux/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ cargo build
2626

2727
The app uses `OPENCLAW_DESKTOP_CLI` when set. Otherwise it checks `~/.openclaw/bin/openclaw`, then `openclaw` on `PATH`.
2828

29+
Desktop notifications use each platform's system notification service. macOS 13+ uses Apple's User Notifications framework; Windows uses native system toasts and Linux uses the desktop notification service through `notify-rust`. On macOS, test notifications from a signed `.app` bundle: a direct `cargo run` stays unbundled, so the app disables notifications instead of initializing Apple's framework with no bundle identity.
30+
2931
On first run, release builds automatically install the stable CLI channel, while development builds ask for a release channel and preselect Development. After the CLI install, the app opens the local dashboard once with onboarding mode enabled. Reconnects and later app launches use the normal dashboard URL.
3032

3133
## Updates

‎apps/linux/src-tauri/Cargo.lock‎

Lines changed: 182 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)