mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-11-26 00:23:29 +01:00
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:
1 parent
69d45a06a6
commit
040004a6b9
2 files changed
+6
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user