Fix second audit findings and restore crash detection dialog
This commit is contained in:
@@ -44,8 +44,7 @@ impl ProfileSource {
|
||||
|
||||
/// Directory where local sandbox profiles are stored.
|
||||
fn profiles_dir() -> PathBuf {
|
||||
let dir = dirs::config_dir()
|
||||
.unwrap_or_else(|| PathBuf::from("~/.config"))
|
||||
let dir = crate::config::config_dir_fallback()
|
||||
.join("driftwood")
|
||||
.join("sandbox");
|
||||
fs::create_dir_all(&dir).ok();
|
||||
|
||||
Reference in New Issue
Block a user