Fix second audit findings and restore crash detection dialog
This commit is contained in:
@@ -14,14 +14,12 @@ pub struct CleanupSummary {
|
||||
}
|
||||
|
||||
fn applications_dir() -> PathBuf {
|
||||
dirs::data_dir()
|
||||
.unwrap_or_else(|| PathBuf::from("~/.local/share"))
|
||||
crate::config::data_dir_fallback()
|
||||
.join("applications")
|
||||
}
|
||||
|
||||
fn icons_dir() -> PathBuf {
|
||||
dirs::data_dir()
|
||||
.unwrap_or_else(|| PathBuf::from("~/.local/share"))
|
||||
crate::config::data_dir_fallback()
|
||||
.join("icons/hicolor")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user