Follow-up to d860a30: replay importing fixes.
- Move failed imports to a "failed" subdirectory so that errors aren't generated each time the program is launched. - Importing now overwrites files. - Add "ReplayImportDirectory" option to config file. - Fixed a bug with scores not being properly added. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -184,6 +184,13 @@ public class Options {
|
||||
@Override
|
||||
public void read(String s) { replayDir = new File(s); }
|
||||
},
|
||||
REPLAY_IMPORT_DIRECTORY ("ReplayImportDirectory") {
|
||||
@Override
|
||||
public String write() { return getReplayImportDir().getAbsolutePath(); }
|
||||
|
||||
@Override
|
||||
public void read(String s) { replayImportDir = new File(s); }
|
||||
},
|
||||
SKIN_DIRECTORY ("SkinDirectory") {
|
||||
@Override
|
||||
public String write() { return getSkinRootDir().getAbsolutePath(); }
|
||||
|
||||
Reference in New Issue
Block a user