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

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

* chore: add changelog
This commit is contained in:
Jason Tsai
2024-03-12 21:20:56 +08:00
committed by GitHub
parent 69d45a06a6
commit 040004a6b9
2 changed files with 6 additions and 0 deletions
@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Change shell's schema property name `command` to `cmd`.
+1
View File
@@ -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.