mirror of
https://github.com/Maschell/JNUSLib.git
synced 2025-02-16 16:29:14 +01:00
Adapt to new LocalBackup format => tmd version are now stored as tmd.VERSION
This commit is contained in:
parent
07430cc2c7
commit
728e1f01bd
@ -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…
x
Reference in New Issue
Block a user