mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore(deps): migrate dirs-next to dirs for updater plugin (#1506)
* Migrate dirs-next to dirs for updater * Add change file * dirs_next -> dirs
This commit is contained in:
@@ -38,7 +38,7 @@ zip = { version = "2", default-features = false, optional = true }
|
||||
windows-sys = { version = "0.52.0", features = [ "Win32_Foundation", "Win32_UI_WindowsAndMessaging" ] }
|
||||
|
||||
[target."cfg(target_os = \"linux\")".dependencies]
|
||||
dirs-next = "2"
|
||||
dirs = "5"
|
||||
tar = { version = "0.4", optional = true }
|
||||
flate2 = { version = "1", optional = true }
|
||||
|
||||
|
||||
@@ -733,7 +733,7 @@ impl Update {
|
||||
|
||||
let tmp_dir_locations = vec![
|
||||
Box::new(|| Some(std::env::temp_dir())) as Box<dyn FnOnce() -> Option<PathBuf>>,
|
||||
Box::new(dirs_next::cache_dir),
|
||||
Box::new(dirs::cache_dir),
|
||||
Box::new(|| Some(self.extract_path.parent().unwrap().to_path_buf())),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user