google/android-classyshark

Do not store property files in the current working directory

marcbaechinger opened this issue · 3 comments

When starting ClassyShark it creates two property files in the current working directory:

# mkdir test
# cd test
# java -jar ClassyShark.jar

Afterwards there are two property file in the workint directory 'test':

-rw-r--r-- 1 foo bar    0 Jul 25 11:08 classyshark_recents.properties
-rw-r--r-- 1 foo bar    0 Jul 25 11:08 classyshark_ui.properties

Instead these could be stored in ~/.classyshark or similar?

You mean in sub-folder of the current folder?

Confirming with version 8.2.

Those files have size 0, so it seems that the right thing to do would be to just not write them.

classyshark_recents.properties - holds the list of recently opened archives (for fast re-open)
classyshark_ui.properties - holds the UI properties (mainly dark/bright) scheme

I don't have much time to devote to ClassyShark right now, but this is a good idea to have a ./classyshark folder