Update AstraPlus compatibility for AstraWeapons

This commit is contained in:
2026-09-19 17:22:02 +03:00
parent 28ce2a53e0
commit 0507765991
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ $mods=(Resolve-Path -LiteralPath (Join-Path $ServerDirectory 'mods')).Path
$jobs=@(
@{Id='astraweapons';Jar=(Join-Path $repo 'build/libs/AstraWeapons-0.1.1.jar')}
)
if($IncludeAstraPlus){$jobs=@(@{Id='astraplus';Jar=(Join-Path (Split-Path $repo -Parent) 'AstraPlus/build/libs/AstraPlus-0.5.67.jar')})+$jobs}
if($IncludeAstraPlus){$jobs=@(@{Id='astraplus';Jar=(Join-Path (Split-Path $repo -Parent) 'AstraPlus/build/libs/AstraPlus-0.9.8.jar')})+$jobs}
function Get-ModIds([string]$Jar) {
$zip=[IO.Compression.ZipFile]::OpenRead($Jar)
try {