Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why user_data_dir in Mac OS X does not include appauthor? #80

Open
rafaelcgo opened this issue Nov 22, 2016 · 3 comments
Open

Why user_data_dir in Mac OS X does not include appauthor? #80

rafaelcgo opened this issue Nov 22, 2016 · 3 comments

Comments

@rafaelcgo
Copy link

>>> from appdirs import *
>>> appname = "SuperApp"
>>> appauthor = "Acme"

>>> user_data_dir(appname, appauthor)
'/Users/username/Library/Application Support/SuperApp'

Using appauthor would make things more organized:
'/Users/username/Library/Application Support/Acme/SuperApp'

Blizzard uses this approach:

/Users/username/Library/Application Support/Blizzard
/Users/username/Library/Application Support/Blizzard/Diablo III
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698/Banks
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698/Replays
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698/Replays/Multiplayer
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698/Saves
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Accounts/999999999/1-Hero-1-3384698/Saves/Rejoin
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/GameLogs
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/ImageUploads
/Users/username/Library/Application Support/Blizzard/Heroes of the Storm/Interfaces
/Users/username/Library/Application Support/Blizzard/System Survey
/Users/username/Library/Application Support/Blizzard/System Survey/Errors
/Users/username/Library/Application Support/Blizzard/System Survey/ProductData
/Users/username/Library/Application Support/Blizzard/System Survey/ProductData/D3
/Users/username/Library/Application Support/Blizzard/System Survey/ProductData/D3/Game
/Users/username/Library/Application Support/Blizzard/System Survey/ProductData/Hero
/Users/username/Library/Application Support/Blizzard/System Survey/ProductData/Hero/Game
@Kriskras99
Copy link

The only thing I can think of is that OS X is based on Unix, and on Unix (or at least Linux) it is not common to use AppAuthor in your directory structure.

I have opened pull request #81 to implement AppAuthor on OS X.

@rafaelcgo
Copy link
Author

@Kriskras99 thanks for the PR! Let's see if it gets merged.

@Kriskras99
Copy link

In the meantime you could use the stable branch of my fork, it should be the default branch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants