Add CoA / Wildcard realm profiles for v0.5.0 (#10)

* Add isolated Wildcard realm profiles and release v0.5.0

* Document realm validation and align npm lock version
This commit is contained in:
Corfirean authored and GitHub committed 2026-10-03 11:12:04 +05:00
1 parent 831685dbd7
commit 1bcef5f8c2
35 files changed
+872 -37

No files matched your search

+4 -2
View File
@@ -3,7 +3,8 @@
param(
[string]$Source = 'C:\games\CoA-Repack',
[string]$Target = 'C:\games\coa-fixture',
[int]$PortBase = 13000
[int]$PortBase = 13000,
[string]$DatabaseArchive = ''
)
$ErrorActionPreference = 'Stop'
if ((Resolve-Path $Source).Path -eq $Target) { throw 'source and target are the same' }
@@ -27,7 +28,8 @@ foreach ($d in 'bin', 'lib', 'share') { Copy-Tree "mysql\$d" }
Copy-Item "$Source\RELEASE.json", "$Source\MANIFEST.json" $Target
# Pristine packaged database (never the live data directory).
& 'C:\Program Files\7-Zip\7z.exe' x "$Source\mysql\data.7z" "-o$Target\mysql" -y | Out-Null
if (-not $DatabaseArchive) { $DatabaseArchive = "$Source\mysql\data.7z" }
& 'C:\Program Files\7-Zip\7z.exe' x $DatabaseArchive "-o$Target\mysql" -y | Out-Null
if (-not (Test-Path "$Target\mysql\data\acore_characters")) { throw 'database extraction failed' }
New-Item -ItemType Junction -Path "$Target\Data" -Target "$Source\Data" | Out-Null