diff options
Diffstat (limited to 'community/mcfly/use-xdg-dir.patch')
-rw-r--r-- | community/mcfly/use-xdg-dir.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/community/mcfly/use-xdg-dir.patch b/community/mcfly/use-xdg-dir.patch deleted file mode 100644 index 57208a748b6..00000000000 --- a/community/mcfly/use-xdg-dir.patch +++ /dev/null @@ -1,18 +0,0 @@ -Store files in ~/.local/share/mcfly/ instead of ~/.mcfly/ to avoid polluting -HOME directory. - -Upstream-Issue: https://github.com/cantino/mcfly/pull/124 - ---- a/src/settings.rs -+++ b/src/settings.rs -@@ -448,7 +448,9 @@ - pub fn storage_dir_path() -> PathBuf { - home_dir() - .unwrap_or_else(|| panic!("McFly error: Unable to access home directory")) -- .join(PathBuf::from(".mcfly")) -+ .join(PathBuf::from(".local")) -+ .join(PathBuf::from("share")) -+ .join(PathBuf::from("mcfly")) - } - - pub fn mcfly_db_path() -> PathBuf { |