Skip to content

Commit

Permalink
Added education desktop path (#1082)
Browse files Browse the repository at this point in the history
* Added education desktop path

* Reformatted
  • Loading branch information
gentlegiantJGC authored Aug 6, 2024
1 parent 7af4508 commit 0b0bf57
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion amulet_map_editor/api/wx/ui/select_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"com.mojang",
"minecraftWorlds",
)
minecraft_world_paths[lang.get("world.bedrock_education_platform")] = os.path.join(
minecraft_world_paths[lang.get("world.bedrock_education_store")] = os.path.join(
os.getenv("LOCALAPPDATA"),
"Packages",
"Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe",
Expand All @@ -49,6 +49,13 @@
"com.mojang",
"minecraftWorlds",
)
minecraft_world_paths[lang.get("world.bedrock_education_desktop")] = os.path.join(
os.getenv("APPDATA"),
"Minecraft Education Edition",
"games",
"com.mojang",
"minecraftWorlds",
)
elif platform == "darwin":
minecraft_world_paths[lang.get("world.java_platform")] = os.path.join(
os.path.expanduser("~"), "Library", "Application Support", "minecraft", "saves"
Expand Down
3 changes: 2 additions & 1 deletion amulet_map_editor/lang/en.lang
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ app.browser_open_tooltip=Clicking will open the page in your browser

world.java_platform=Java
world.bedrock_platform=Bedrock
world.bedrock_education_platform=Education Edition
world.bedrock_education_store=Education Edition (Store)
world.bedrock_education_desktop=Education Edition (Desktop)
world.close_world=Close World

# Menu bar
Expand Down

0 comments on commit 0b0bf57

Please sign in to comment.