Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Add support for Minecraft Education (desktop and UWP version) for deployment",
"packageName": "@minecraft/core-build-tasks",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 2 additions & 0 deletions tools/core-build-tasks/src/platforms/MinecraftProduct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ export enum MinecraftProduct {
PreviewGDK = 'PreviewGDK',
Bedrock = 'BedrockUWP',
Preview = 'PreviewUWP',
EducationUWP = 'EducationUWP',
EducationDesktop = 'EducationDesktop',
Custom = 'Custom',
}
4 changes: 4 additions & 0 deletions tools/core-build-tasks/src/tasks/cleanCollateral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ export const STANDARD_CLEAN_PATHS = [
'APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME',
'APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME',
'APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME',
'APPDATA/Minecraft Education Education/games/com.mojang/development_behavior_packs/PROJECT_NAME',
'APPDATA/Minecraft Education Education/games/com.mojang/development_resource_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
'LOCALAPPDATA/Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ export function getGameDeploymentRootPaths(): Record<MinecraftProduct, string |
'Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/'
)
: undefined,
EducationUWP: localAppDataPath
? resolve(
localAppDataPath,
'Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/'
)
: undefined,
EducationDesktop: appDataPath
? resolve(appDataPath, 'Minecraft Education Edition/games/com.mojang/')
: undefined,
Custom: customDeploymentPath ? customDeploymentPath : undefined,
};
}
Expand Down