feat(mods): add official map selector mod template and move templates into mod-dev-docs

This commit is contained in:
N0VAN0M4LY committed 2026-12-03 03:01:18 +08:00
1 parent aa952e7cca
commit 6e65cec4c0
19 files changed
+574 -2

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ async function stageInstaller(stage: string, manifest: LauncherManifest): Promis
await cp(join(launcher, 'resources', 'icon.png'), join(resources, 'icon.png'));
await cp(join(repository, 'LICENSE'), join(resources, 'LICENSE-WTOffline'));
await cp(join(native, 'wto_ws.dll'), join(resources, 'native', 'wto_ws.dll'));
await cp(join(repository, 'dev-docs', 'templates', 'mods'), join(resources, 'mod-templates'), { recursive: true });
await cp(join(repository, 'mod-dev-docs', 'templates'), join(resources, 'mod-templates'), { recursive: true });
buildOfflineModDocs(join(repository, 'mod-dev-docs'), join(resources, 'mod-dev-docs'));
for (const folder of ['exe', 'gui', 'native', 'versions']) {
await cp(join(repository, 'patches', folder), join(resources, 'patches', folder), { recursive: true });