mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
f8d1e9efc5
commit
005eb63109
1 changed files with 3 additions and 3 deletions
|
|
@ -50,9 +50,9 @@ impl Default for Boot {
|
|||
state_dir: Xdg::state_dir().unwrap(),
|
||||
};
|
||||
|
||||
fs::create_dir_all(&boot.flavor_dir).unwrap();
|
||||
fs::create_dir_all(&boot.plugin_dir).unwrap();
|
||||
fs::create_dir_all(&boot.state_dir).unwrap();
|
||||
fs::create_dir_all(&boot.flavor_dir).expect("Failed to create flavor directory");
|
||||
fs::create_dir_all(&boot.plugin_dir).expect("Failed to create plugin directory");
|
||||
fs::create_dir_all(&boot.state_dir).expect("Failed to create state directory");
|
||||
|
||||
boot
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue