question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document changes to MacOS's configuration paths, compared to last appdirs release

See original GitHub issue

There’s an unannounced behaviour change here (using Library/Preferences instead of Library/Application Support like it used to), and… well, it’d be a good idea to flag this all over the documentation. 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
laydaycommented, Apr 19, 2022

IMO, this change should be reverted. App configuration on macOS does not belong in Library/Preferences, which is reserved for plist files generated by calling the “NSUserDefaults class or an equivalent system-provided interface”. Apps should never write in Preferences directly. The nearest Mac equivalent to XDG .config was and remains Application Support.

1reaction
Jackenmencommented, Mar 10, 2022

I’m looking at it but the line you link to in 2.0.2 is the implementation for Windows, not macOS. Here’s the correct place and it uses ~/Library/Preferences same as 2.1.0: https://github.com/platformdirs/platformdirs/blob/2.0.2/platformdirs.py#L243

Read more comments on GitHub >

github_iconTop Results From Across the Web

spawn /usr/bin/python ENOENT · Issue #6606 · electron ...
Hi, this has not resolved the issue for me, I get same error on electron builder 23.0.0-alpha.4 on latest macOS 12.3 beta. I...
Read more >
Customize your Mac with System Settings - Apple Support
To change System Settings on your Mac, click the System Settings icon in the Dock or choose Apple menu > System Settings.
Read more >
QStandardPaths Class | Qt Core 6.4.1
The QStandardPaths class provides methods for accessing standard paths. ... a directory location where user-specific configuration files should be written.
Read more >
Release notes — conda 22.11.1.post16+ce4e810c9 ...
–no-update-deps: conda will update the packages only to the extent that no updates to the dependencies are required The previous behavior, which would...
Read more >
brew(1) – The Missing Package Manager for macOS (or Linux)
keg: installation destination directory of a given formula version e.g. ... Show Homebrew and system configuration info useful for debugging. If you file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found