feat: add tauri-plugin-opener (#2019)

This commit is contained in:
Amr Bashir
2024-11-20 00:50:02 +02:00
committed by GitHub
parent 1051db406a
commit 383e636a8e
61 changed files with 2346 additions and 7 deletions
+3 -1
View File
@@ -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>,