feat(launcher): bundle example mod templates and seed fresh mods folder once
This commit is contained in:
1 parent
ada635ecc7
commit
97707f533d
3 files changed
+46
-1
No files matched your search
@@ -70,6 +70,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 });
|
||||
for (const folder of ['exe', 'gui', 'native', 'versions']) {
|
||||
await cp(join(repository, 'patches', folder), join(resources, 'patches', folder), { recursive: true });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user