chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 (#8093)

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Olivier Lemasle
2023-10-26 20:27:52 +02:00
committed by GitHub
parent 6bc3b0536d
commit 9ed400a85c
20 changed files with 93 additions and 395 deletions

View File

@@ -12,12 +12,11 @@ mod cmd;
mod tray;
use serde::Serialize;
use tauri::{ipc::Channel, window::WindowBuilder, App, AppHandle, RunEvent, Runtime, WindowUrl};
use tauri::{
ipc::Channel, window::WindowBuilder, App, AppHandle, Manager, RunEvent, Runtime, WindowUrl,
};
use tauri_plugin_sample::{PingRequest, SampleExt};
#[cfg(desktop)]
use tauri::Manager;
pub type SetupHook = Box<dyn FnOnce(&mut App) -> Result<(), Box<dyn std::error::Error>> + Send>;
pub type OnEvent = Box<dyn FnMut(&AppHandle, RunEvent)>;