mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
chore(deps): update to tauri alpha.8 (#303)
This commit is contained in:
committed by
GitHub
parent
14e4705d55
commit
bbdccefa2d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user