chore(deps): update to tauri alpha.8 (#303)

This commit is contained in:
Lucas Fernandes Nogueira
2023-04-14 04:02:48 -07:00
committed by GitHub
parent 14e4705d55
commit bbdccefa2d
9 changed files with 35 additions and 37 deletions
+1 -4
View File
@@ -63,10 +63,7 @@ type Result<T> = std::result::Result<T, Error>;
/// Resolves the App's **file path** from the `AppHandle` context
/// object
fn app_path<R: Runtime>(app: &AppHandle<R>) -> PathBuf {
#[allow(deprecated)] // FIXME: Change to non-deprecated function in Tauri v2
app.path_resolver()
.app_dir()
.expect("No App path was found!")
app.path().app_config_dir().expect("No App path was found!")
}
#[cfg(feature = "sqlite")]