1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 06:54:07 +00:00
This commit is contained in:
Bernd Schoolmann
2025-05-30 14:48:39 +02:00
parent 0c401a60c8
commit 6a785575b9

View File

@@ -103,8 +103,7 @@ pub fn all_paths(name: &str) -> Vec<std::path::PathBuf> {
let flatpak_path = user_home.join(".var/app/");
let flatpak_paths = FLATPAK_PATHS
.iter()
.map(|path| flatpak_path.join(path).join(format!(".app.{name}.socket")))
.collect::<Vec<_>>();
.map(|path| flatpak_path.join(path).join(format!(".app.{name}.socket")));
let mut paths = vec![path(name)];
paths.extend(flatpak_paths);
paths