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

ArenaTrackerLog.txt, ArenaTrackerDecks.json, card images location (HSCards dir) and .config dir name. #9

Closed
frangi opened this issue Jan 20, 2016 · 1 comment

Comments

@frangi
Copy link

frangi commented Jan 20, 2016

These should all go into the user's home directory (~/.config/Arena Tracker). I have patched it myself locally to distribute them in this dir tree:

~/.config/arena-tracker/cards
~/.config/arena-tracker/logs
~/.config/arena-tracker/decks

The reasoning behind this is that if this program is properly packaged (it goes in /usr/bin/) a subdirectory there with 777 permission has NO place to exist.

You might have also noticed I changed the main dir name: it's good practice in unix filesystems to have the names all lowercase and use no space.

@supertriodo
Copy link
Owner

I am a linux user myself but Arena Tracker is cross-platform app.

Most windows user will have Arena Tracker in their desktop and having just one directory is much more convenient. Anyway HSCards have grown big since I created the app so its true it needs some organization inside.

The directory Arena Tracker is just the container in the zip, you can rename it or remove it if you want.

Right now there is no packaging for Arena Tracker so I don't see the worry for separate files in /home and /usr/bin

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