diff --git a/dist-js/index.cjs b/dist-js/index.cjs index bb3ff92..3e3a98d 100644 --- a/dist-js/index.cjs +++ b/dist-js/index.cjs @@ -298,7 +298,7 @@ class Command extends EventEmitter { * Creates a new `Command` instance. * * @param program The program name to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. * @param args Program arguments. * @param options Spawn options. */ @@ -322,7 +322,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static create(program, args = [], options) { return new Command(program, args, options); @@ -337,7 +337,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static sidecar(program, args = [], options) { const instance = new Command(program, args, options); diff --git a/dist-js/index.d.ts b/dist-js/index.d.ts index 8a45448..7871805 100644 --- a/dist-js/index.d.ts +++ b/dist-js/index.d.ts @@ -194,7 +194,7 @@ declare class Command extends EventEmitter { * Creates a new `Command` instance. * * @param program The program name to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. * @param args Program arguments. * @param options Spawn options. */ diff --git a/dist-js/index.js b/dist-js/index.js index bcbe0c1..a75a178 100644 --- a/dist-js/index.js +++ b/dist-js/index.js @@ -296,7 +296,7 @@ class Command extends EventEmitter { * Creates a new `Command` instance. * * @param program The program name to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. * @param args Program arguments. * @param options Spawn options. */ @@ -320,7 +320,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static create(program, args = [], options) { return new Command(program, args, options); @@ -335,7 +335,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static sidecar(program, args = [], options) { const instance = new Command(program, args, options); diff --git a/guest-js/index.ts b/guest-js/index.ts index 1ed2ac5..081d54c 100644 --- a/guest-js/index.ts +++ b/guest-js/index.ts @@ -388,7 +388,7 @@ class Command extends EventEmitter { * Creates a new `Command` instance. * * @param program The program name to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. * @param args Program arguments. * @param options Spawn options. */ @@ -425,7 +425,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static create( program: string, @@ -457,7 +457,7 @@ class Command extends EventEmitter { * ``` * * @param program The program to execute. - * It must be configured on `tauri.conf.json > plugins > shell > scope`. + * It must be configured in your project's capabilities. */ static sidecar( program: string,