build(mac): enable time-sensitive notifications
This commit is contained in:
@@ -64,7 +64,7 @@ struct Response { ok: Bool; message?: String; payload?: Data }
|
|||||||
|
|
||||||
## CLI (`clawdis-mac`)
|
## CLI (`clawdis-mac`)
|
||||||
- Subcommands (JSON out, non-zero exit on failure):
|
- Subcommands (JSON out, non-zero exit on failure):
|
||||||
- `notify --title --body [--sound]`
|
- `notify --title --body [--sound] [--priority passive|active|timeSensitive]`
|
||||||
- `ensure-permissions --cap accessibility --cap screenRecording [--interactive]`
|
- `ensure-permissions --cap accessibility --cap screenRecording [--interactive]`
|
||||||
- `screenshot [--display-id N | --window-id N] [--out path]`
|
- `screenshot [--display-id N | --window-id N] [--out path]`
|
||||||
- `run -- cmd args... [--cwd] [--env KEY=VAL] [--timeout 30] [--needs-screen-recording]`
|
- `run -- cmd args... [--cwd] [--env KEY=VAL] [--timeout 30] [--needs-screen-recording]`
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ cat > "$ENT_TMP" <<'PLIST'
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>com.apple.developer.usernotifications.time-sensitive</key>
|
||||||
|
<true/>
|
||||||
<key>com.apple.security.hardened-runtime</key>
|
<key>com.apple.security.hardened-runtime</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user