refactor: read local file with fs plugin for Tauri App, closes #553 and closes #489 (#785)

This commit is contained in:
Huang Xin 2025-04-01 20:26:26 +08:00 committed by GitHub
parent 39fb7f759e
commit 7ccf3d0632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 1164 additions and 790 deletions

View file

@ -11,3 +11,11 @@ pub(crate) async fn auth_with_safari<R: Runtime>(
) -> Result<SafariAuthResponse> {
app.native_bridge().auth_with_safari(payload)
}
#[command]
pub(crate) async fn copy_uri_to_path<R: Runtime>(
app: AppHandle<R>,
payload: CopyURIRequest,
) -> Result<CopyURIResponse> {
app.native_bridge().copy_uri_to_path(payload)
}