Skip to content

Commit

Permalink
small fix: persistent_dir needs to be created
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanabx committed Apr 27, 2024
1 parent e3d2b6d commit b2aea97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub fn get_dirs() -> (PathBuf, PathBuf, PathBuf, PathBuf) {
);
fs::create_dir(persistent_dir).unwrap();
}
let _ = fs::create_dir(proc_dir.join(Path::new("applications")));
let _ = fs::create_dir(proc_dir.join(Path::new("icons")));
let _ = fs::create_dir(persistent_dir.join(Path::new("applications")));
let _ = fs::create_dir(persistent_dir.join(Path::new("icons")));

let config_file_str = format!("{}/.config/desktop-entry-daemon/cache.ron", home_str);
let config_file = Path::new(&config_file_str);
Expand Down

0 comments on commit b2aea97

Please sign in to comment.