diff --git a/.changes/shell-open-re-export.md b/.changes/shell-open-re-export.md new file mode 100644 index 00000000..d5540f55 --- /dev/null +++ b/.changes/shell-open-re-export.md @@ -0,0 +1,5 @@ +--- +"shell": "patch" +--- + +Export `open` module. diff --git a/plugins/shell/src/lib.rs b/plugins/shell/src/lib.rs index 8b32b7ec..b01f3e30 100644 --- a/plugins/shell/src/lib.rs +++ b/plugins/shell/src/lib.rs @@ -28,7 +28,7 @@ use tauri::{ mod commands; mod config; mod error; -mod open; +pub mod open; pub mod process; mod scope; mod scope_entry; @@ -60,7 +60,7 @@ impl Shell { /// Open a (url) path with a default or specific browser opening program. /// - /// See [`crate::api::shell::open`] for how it handles security-related measures. + /// See [`crate::open::open`] for how it handles security-related measures. pub fn open(&self, path: impl Into, with: Option) -> Result<()> { open::open(&self.open_scope, path.into(), with).map_err(Into::into) }