mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-06-01 14:58:46 +02:00
Adapt to new LocalBackup format => tmd version are now stored as tmd.VERSION
This commit is contained in:
parent
90e83feade
commit
52a92d605c
|
@ -73,7 +73,7 @@ public class NUSDataProviderLocalBackup implements NUSDataProvider {
|
|||
String inputPath = getLocalPath();
|
||||
String tmdPath = inputPath + File.separator + Settings.TMD_FILENAME;
|
||||
if (titleVersion != Settings.LATEST_TMD_VERSION) {
|
||||
tmdPath = inputPath + File.separator + "v" + titleVersion + File.separator + Settings.TMD_FILENAME;
|
||||
tmdPath = inputPath + File.separator + "tmd." + titleVersion;
|
||||
}
|
||||
File tmdFile = new File(tmdPath);
|
||||
return Optional.of(Files.readAllBytes(tmdFile.toPath()));
|
||||
|
|
Loading…
Reference in New Issue
Block a user