|
@@ -780,7 +780,7 @@ macro_rules! check_feature {
|
|
/// Each pattern can start with a variable that resolves to a system base directory.
|
|
/// Each pattern can start with a variable that resolves to a system base directory.
|
|
/// The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`,
|
|
/// The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`,
|
|
/// `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`,
|
|
/// `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`,
|
|
-/// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`.
|
|
|
|
|
|
+/// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`.
|
|
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
|
|
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
#[cfg_attr(feature = "schema", derive(JsonSchema))]
|
|
#[serde(untagged)]
|
|
#[serde(untagged)]
|
|
@@ -1071,7 +1071,7 @@ pub struct ShellAllowedCommand {
|
|
/// It can start with a variable that resolves to a system base directory.
|
|
/// It can start with a variable that resolves to a system base directory.
|
|
/// The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`,
|
|
/// The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`,
|
|
/// `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`,
|
|
/// `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`,
|
|
- /// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`.
|
|
|
|
|
|
+ /// `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`.
|
|
#[serde(rename = "cmd")]
|
|
#[serde(rename = "cmd")]
|
|
pub command: PathBuf,
|
|
pub command: PathBuf,
|
|
|
|
|