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
@@ -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())),
];