WalletWasabi: Wasabi stores state in incorrect directory path on macOS
General Description
On macOS, Wasabi stores state in $HOME/.walletwasabi
. The correct location for application state on macOS is $HOME/Library/Application Support/Wasabi Wallet
.
How To Reproduce?
- Launch Wasabi Wallet
Operating System
macOS
Wasabi Version
1.1.10.2
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 1
- Comments: 22 (7 by maintainers)
@MaxHillebrand adhering to XDG standard is better since it makes it less cluttery on the homedir of the user…
FWIW it’s supposed to be
${XDG_CONFIG_HOME:-$HOME/.config}/walletwasabi
on linux. This means it should be defaulting to$HOME/.config/walletwasabi
in the case where the user has not set $XDG_CONFIG_HOME to something else.https://wiki.archlinux.org/index.php/XDG_Base_Directory
Wasabi still stores the app settings/state in the wrong directory on macOS.
On my mac
.config
folder contains mainly config or XML files only.$HOME/Library/Application Support/Wasabi
Wallet is user-dependent?Moving the whole folder can cause a lot of problems for us - like what if I can move only half of the folder because something is used by other processes, that would break the software. So I am generally against this if there are no issues regarding this. I found many other Softwares doing the same as we are doing now, like Nuget, VSCode.
This thread aside, GnuPG is not a very good example of well-designed or well-behaved software. Most of its fundamental decisions are rooted in thinking that’s >20 years old, including oftentimes ones that could and should have been revisited since.
The majority of well-behaved desktop software supports and respects XDG.