From b805fad26913bcff85835dbb4b09a9461c230555 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Wed, 4 Sep 2024 11:38:30 +0000 Subject: [PATCH] chore(deep-link): fix example, update documentation (#1725) * chore(deep-link): fix example, update documentation * update lock file * fix lint, add header * fmt Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10700874949 Co-authored-by: lucasfernog --- dist-js/index.cjs | 2 +- dist-js/index.js | 2 +- guest-js/index.ts | 2 +- src/error.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist-js/index.cjs b/dist-js/index.cjs index 5b8eeba..fe101f2 100644 --- a/dist-js/index.cjs +++ b/dist-js/index.cjs @@ -25,7 +25,7 @@ var core = require('@tauri-apps/api/core'); * Each CLI is a configuration object `{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`. * * - `name`: the unique identifier of the command, passed to the {@link Command.create | Command.create function}. - * If it's a sidecar, this must be the value defined on `tauri.conf.json > tauri > bundle > externalBin`. + * If it's a sidecar, this must be the value defined on `tauri.conf.json > bundle > externalBin`. * - `cmd`: the program that is executed on this configuration. If it's a sidecar, this value is ignored. * - `sidecar`: whether the object configures a sidecar or a system program. * - `args`: the arguments that can be passed to the program. By default no arguments are allowed. diff --git a/dist-js/index.js b/dist-js/index.js index 38f8b61..e5a38f2 100644 --- a/dist-js/index.js +++ b/dist-js/index.js @@ -23,7 +23,7 @@ import { invoke, Channel } from '@tauri-apps/api/core'; * Each CLI is a configuration object `{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`. * * - `name`: the unique identifier of the command, passed to the {@link Command.create | Command.create function}. - * If it's a sidecar, this must be the value defined on `tauri.conf.json > tauri > bundle > externalBin`. + * If it's a sidecar, this must be the value defined on `tauri.conf.json > bundle > externalBin`. * - `cmd`: the program that is executed on this configuration. If it's a sidecar, this value is ignored. * - `sidecar`: whether the object configures a sidecar or a system program. * - `args`: the arguments that can be passed to the program. By default no arguments are allowed. diff --git a/guest-js/index.ts b/guest-js/index.ts index 4cad60c..ad90aeb 100644 --- a/guest-js/index.ts +++ b/guest-js/index.ts @@ -22,7 +22,7 @@ * Each CLI is a configuration object `{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`. * * - `name`: the unique identifier of the command, passed to the {@link Command.create | Command.create function}. - * If it's a sidecar, this must be the value defined on `tauri.conf.json > tauri > bundle > externalBin`. + * If it's a sidecar, this must be the value defined on `tauri.conf.json > bundle > externalBin`. * - `cmd`: the program that is executed on this configuration. If it's a sidecar, this value is ignored. * - `sidecar`: whether the object configures a sidecar or a system program. * - `args`: the arguments that can be passed to the program. By default no arguments are allowed. diff --git a/src/error.rs b/src/error.rs index dfed22a..652421b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -20,7 +20,7 @@ pub enum Error { #[error(transparent)] Scope(#[from] crate::scope::Error), /// Sidecar not allowed by the configuration. - #[error("sidecar not configured under `tauri.conf.json > tauri > bundle > externalBin`: {0}")] + #[error("sidecar not configured under `tauri.conf.json > bundle > externalBin`: {0}")] SidecarNotAllowed(PathBuf), /// Program not allowed by the scope. #[error("program not allowed on the configured shell scope: {0}")]