Skip to content

Commit

Permalink
Fixed #45
Browse files Browse the repository at this point in the history
  • Loading branch information
mindstorm38 committed Oct 13, 2021
1 parent 55c4fd4 commit 26d1b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portablemc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ def prepare_jvm(self):
jvm_manifest = json_simple_request(jvm_meta[0]["manifest"]["url"])
jvm_manifest["version"] = jvm_meta[0]["version"]["name"]

os.makedirs(self.context.jvm_dir, exist_ok=True)
with open(jvm_manifest_file, "wt") as jvm_manifest_fp:
json.dump(jvm_manifest, jvm_manifest_fp, indent=2)

Expand Down

0 comments on commit 26d1b81

Please sign in to comment.