1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Fixed incorrect location for install log and version cache.

This commit is contained in:
sk89q 2014-01-09 02:15:16 -08:00
parent 3ff74f7686
commit 779294e780

View File

@ -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();