Files
2026-07-13 12:29:49 +08:00

440 B

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:

zig build run -Dplatform=macos -Dweb-engine=system

Run the headless test path:

zig build test -Dplatform=null