Fix second audit findings and restore crash detection dialog
This commit is contained in:
@@ -80,8 +80,7 @@ struct DesktopEntryFields {
|
||||
}
|
||||
|
||||
fn icons_cache_dir() -> PathBuf {
|
||||
let dir = dirs::data_dir()
|
||||
.unwrap_or_else(|| PathBuf::from("~/.local/share"))
|
||||
let dir = crate::config::data_dir_fallback()
|
||||
.join("driftwood")
|
||||
.join("icons");
|
||||
fs::create_dir_all(&dir).ok();
|
||||
|
||||
Reference in New Issue
Block a user