chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Native SDK command-app example
|
||||
|
||||
This example shows one `app.sync` command handled from each user-facing entry point:
|
||||
|
||||
- Native toolbar button.
|
||||
- Native menu item.
|
||||
- Native tray item.
|
||||
- App shortcut.
|
||||
- WebView bridge call.
|
||||
- Manifest command catalog listing from the WebView.
|
||||
|
||||
Run with the system backend:
|
||||
|
||||
```sh
|
||||
zig build run -Dplatform=macos -Dweb-engine=system
|
||||
```
|
||||
|
||||
Run the headless test path:
|
||||
|
||||
```sh
|
||||
zig build test -Dplatform=null
|
||||
```
|
||||
Reference in New Issue
Block a user