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:
Tony
2024-07-01 16:41:46 +08:00
committed by GitHub
parent 6dedb3fa6d
commit acce342fcc
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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 }
+1 -1
View File
@@ -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())),
];