Raccoon icon indicating copy to clipboard operation
Raccoon copied to clipboard

Ignore lastarchive preference if folder doesn't exist

Open nosoop opened this issue 10 years ago • 1 comments

Using Windows 7 and the JAR executable.

As of 3.5, subsequent launches of Raccoon after signing into an account and downloading an app will recreate the folder used for the last archive, whether or not it exists.

Along with preferences being stored in the registry (non-portability; leaves traces on removal of the JAR file), this causes a bit of a head scratcher when setting up the raccoon.home directory after creating an archive and having deleted it.

My expected result is that a new archive is created based on the currently used data directory.

(Basically, add a check to see if (new File(tmp)).exists() before creating an Archive somewhere near this line, passing it to the else statement if it doesn't exist.)

nosoop avatar Sep 25 '15 11:09 nosoop

Am Freitag, den 25.09.2015, 04:41 -0700 schrieb nosoop:

Using Windows 7 and the JAR executable.

As of 3.5, subsequent launches of Raccoon after signing into an account and downloading an app will recreate the folder used for the last archive, whether or not it exists.

Along with preferences being stored in the registry (non-portability; leaves traces on removal of the JAR file), this causes a bit of a head scratcher when setting up the raccoon.home directory after creating an archive and having deleted it.

My expected result is that a new archive is created based on the currently used data directory.

(Basically, add a check to see if (new File(tmp)).exists() before creating an Archive somewhere near this line, passing it to the else statement if it doesn't exist.)

— Reply to this email directly or view it on GitHub.

Raccoon v4.x will no longer use preferences.

onyxbits avatar Sep 25 '15 22:09 onyxbits