Fix[bta_profile]: set custom game directory

This commit is contained in:
artdeell 2025-02-04 15:44:41 +03:00 committed by Maksim Belov
parent 4903cfc8d3
commit 740568fafa

View File

@ -83,6 +83,8 @@ public class BTADownloadTask implements Runnable {
MinecraftProfile btaProfile = new MinecraftProfile();
btaProfile.lastVersionId = btaVersionId;
btaProfile.name = "Better than Adventure!";
// Allows for smooth upgrades
btaProfile.gameDir = "./custom_instances/better_than_adventure";
btaProfile.icon = tryDownloadIcon();
LauncherProfiles.insertMinecraftProfile(btaProfile);
LauncherProfiles.write();