mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-30 13:13:58 +01:00
Fixed incorrect location for install log and version cache.
This commit is contained in:
parent
3ff74f7686
commit
779294e780
@ -60,8 +60,8 @@ public abstract class BaseUpdater {
|
||||
|
||||
protected Manifest installPackage(@NonNull Installer installer, @NonNull Instance instance) throws Exception {
|
||||
final File contentDir = instance.getContentDir();
|
||||
final File logPath = new File(contentDir, "install_log.json");
|
||||
final File cachePath = new File(contentDir, "update_cache.json");
|
||||
final File logPath = new File(instance.getDir(), "install_log.json");
|
||||
final File cachePath = new File(instance.getDir(), "update_cache.json");
|
||||
|
||||
final InstallLog previousLog = Persistence.read(logPath, InstallLog.class);
|
||||
final InstallLog currentLog = new InstallLog();
|
||||
|
Loading…
Reference in New Issue
Block a user