Fix[bta_profile]: set custom game directory

This commit is contained in:
artdeell
2025-02-04 15:44:41 +03:00
parent ee3435d52a
commit 2401262030

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