chore(shell): change schema property name `command` to `cmd` (#1069)

* chore: fix shell plugin `command` property in schema

* chore: add changelog
pull/1072/head
Jason Tsai 1 year ago committed by GitHub
parent 69d45a06a6
commit 040004a6b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"shell": "patch"
---
Change shell's schema property name `command` to `cmd`.

@ -22,6 +22,7 @@ pub struct Entry {
/// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`,
/// `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.
// use default just so the schema doesn't flag it as required
#[serde(rename = "cmd")]
pub command: PathBuf,
/// The allowed arguments for the command execution.

Loading…
Cancel
Save