Skip to content

Commit

Permalink
Fix[bta_profile]: set custom game directory
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Feb 4, 2025
1 parent ee3435d commit 2401262
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ private void createProfile(String btaVersionId) throws IOException {
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();
Expand Down

0 comments on commit 2401262

Please sign in to comment.