zero-native doctor
The zero-native doctor command checks your development environment for issues.
What it checks
| Check | Description |
|---|---|
| Host platform | Operating system and architecture |
| WebView | WKWebView (macOS) or WebKitGTK (Linux) availability |
| Manifest | app.zon validation (only when --manifest is passed) |
| Log directory | Writability of the log output path |
| CEF | CEF distribution presence when Chromium is selected by app.zon or --web-engine chromium |
| Signing tools | Code signing tool availability |
Usage
# Informational (always exits 0)
zero-native doctor
# Strict mode (exits non-zero on any warning)
zero-native doctor --manifest app.zon --strict
# Check CEF setup
zero-native doctor --manifest app.zonFlags
| Flag | Description |
|---|---|
--strict | Exit non-zero on any warning |
--manifest | Path to app.zon |
--web-engine | Temporarily override the engine from app.zon with system or chromium |
--cef-dir | Temporarily override the CEF distribution path |
--cef-auto-install | Temporarily allow automatic prepared CEF installation for Chromium checks |