Dye wool and carpets in colored cauldrons with tiered water costs
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
param(
|
||||
[string]$ServerDirectory = 'C:/Users/ScarPC/Documents/NeoForge Server 26.2',
|
||||
[string]$Java = 'java',
|
||||
[int]$Port = 25639
|
||||
[int]$Port = 25639,
|
||||
[string]$PlusDirectory = ''
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$repo = Split-Path $PSScriptRoot -Parent
|
||||
$plus = Join-Path (Split-Path $repo -Parent) 'AstraPlus'
|
||||
if ($PlusDirectory) { $plus = (Resolve-Path -LiteralPath $PlusDirectory).Path }
|
||||
$run = Join-Path $repo ('build/verification-' + (Get-Date -Format 'yyyyMMdd-HHmmss') + '-' + [guid]::NewGuid().ToString('N').Substring(0,6))
|
||||
New-Item -ItemType Directory -Path (Join-Path $run 'mods') -Force | Out-Null
|
||||
$plusVersion = [regex]::Match((Get-Content "$plus/build.gradle.kts" -Raw), '(?m)^version = "([^"]+)"').Groups[1].Value
|
||||
|
||||
Reference in New Issue
Block a user