mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-06 15:57:50 +02:00
feat: add tauri-plugin-opener (#2019)
This commit is contained in:
@@ -11,8 +11,9 @@ use tauri::{
|
||||
Manager, Runtime, State, Window,
|
||||
};
|
||||
|
||||
#[allow(deprecated)]
|
||||
use crate::open::Program;
|
||||
use crate::{
|
||||
open::Program,
|
||||
process::{CommandEvent, TerminatedPayload},
|
||||
scope::ExecuteArgs,
|
||||
Shell,
|
||||
@@ -302,6 +303,7 @@ pub fn kill<R: Runtime>(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
#[tauri::command]
|
||||
pub async fn open<R: Runtime>(
|
||||
_window: Window<R>,
|
||||
|
||||
Reference in New Issue
Block a user