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
+2 -2
View File
@@ -40,9 +40,9 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
#[cfg(feature = "protocol-asset")]
let asset_protocol_scope = app.asset_protocol_scope();
let app = app.clone();
let app_dir = app.path_resolver().app_data_dir();
let app_dir = app.path().app_data_dir();
if let Some(app_dir) = app_dir {
if let Ok(app_dir) = app_dir {
let scope_state_path = app_dir.join(SCOPE_STATE_FILENAME);
let _ = fs_scope.forbid_file(&scope_state_path);