From 51341f62555a92817ed533fbc403ac2b06f1100c Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Thu, 2 Jun 2022 16:43:25 -0500 Subject: [PATCH] MC client: use user_path to fix appimage permissions --- MinecraftClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftClient.py b/MinecraftClient.py index c1230e96..740944d8 100644 --- a/MinecraftClient.py +++ b/MinecraftClient.py @@ -254,10 +254,10 @@ def get_minecraft_versions(version, release_channel="release"): local = True if local: - with open(Utils.local_path("minecraft_versions.json"), 'r') as f: + with open(Utils.user_path("minecraft_versions.json"), 'r') as f: data = json.load(f) else: - with open(Utils.local_path("minecraft_versions.json"), 'w') as f: + with open(Utils.user_path("minecraft_versions.json"), 'w') as f: json.dump(data, f) try: