Skip to content

Commit 2c857e6

Browse files
authored
Merge branch 'main' into niamh.cuileann/aabbutils
2 parents 69e143f + 0d46525 commit 2c857e6

File tree

7 files changed

+52
-20
lines changed

7 files changed

+52
-20
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "build(dependabot): bump terminal-kit from 2.11.7 to 3.1.2",
4+
"packageName": "@minecraft/api-docs-generator",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "minor",
3+
"comment": "Add support for Minecraft Education (desktop and UWP version) for deployment",
4+
"packageName": "@minecraft/core-build-tasks",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

package-lock.json

Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/api-docs-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"resolve-from": "^5.0.0",
6464
"runtypes": "^6.7.0",
6565
"semver": "^7.3.5",
66-
"terminal-kit": "^2.5.6",
66+
"terminal-kit": "^3.1.2",
6767
"toposort": "^2.0.2",
6868
"typescript": "~5.6.0",
6969
"word-wrap": "^1.2.3",

tools/core-build-tasks/src/platforms/MinecraftProduct.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ export enum MinecraftProduct {
99
PreviewGDK = 'PreviewGDK',
1010
Bedrock = 'BedrockUWP',
1111
Preview = 'PreviewUWP',
12+
EducationUWP = 'EducationUWP',
13+
EducationDesktop = 'EducationDesktop',
1214
Custom = 'Custom',
1315
}

tools/core-build-tasks/src/tasks/cleanCollateral.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ export const STANDARD_CLEAN_PATHS = [
1111
'APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME',
1212
'APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME',
1313
'APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME',
14+
'APPDATA/Minecraft Education Education/games/com.mojang/development_behavior_packs/PROJECT_NAME',
15+
'APPDATA/Minecraft Education Education/games/com.mojang/development_resource_packs/PROJECT_NAME',
1416
'LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
1517
'LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
1618
'LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
1719
'LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
20+
'LOCALAPPDATA/Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME',
21+
'LOCALAPPDATA/Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME',
1822
];
1923

2024
/**

tools/core-build-tasks/src/tasks/helpers/getGameDeploymentRootPaths.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ export function getGameDeploymentRootPaths(): Record<MinecraftProduct, string |
2323
'Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/'
2424
)
2525
: undefined,
26+
EducationUWP: localAppDataPath
27+
? resolve(
28+
localAppDataPath,
29+
'Packages/Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe/LocalState/games/com.mojang/'
30+
)
31+
: undefined,
32+
EducationDesktop: appDataPath
33+
? resolve(appDataPath, 'Minecraft Education Edition/games/com.mojang/')
34+
: undefined,
2635
Custom: customDeploymentPath ? customDeploymentPath : undefined,
2736
};
2837
}

0 commit comments

Comments
 (0)