google / android-classyshark

Android and Java bytecode viewer
Apache License 2.0
7.53k stars 870 forks source link

Do not store property files in the current working directory #166

Open marcbaechinger opened 6 years ago

marcbaechinger commented 6 years ago

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?

AndroidDeveloperLB commented 5 years ago

You mean in sub-folder of the current folder?

dolmen commented 3 years ago

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.

borisf commented 3 years ago

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