2026.01.29-301e13929
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$branch = git rev-parse --abbrev-ref HEAD
|
||||
|
||||
# Move to the git root if we arn't already there
|
||||
git rev-parse --show-toplevel | Set-Location
|
||||
|
||||
# get the server jar from the install directory ( in future support pre-release )
|
||||
$server_jar = resolve-path "$env:APPDATA/Hytale/install/release/package/game/latest/Server/HytaleServer.jar"
|
||||
$server_jar = resolve-path "$env:APPDATA/Hytale/install/$branch/package/game/latest/Server/HytaleServer.jar"
|
||||
|
||||
# clear the source directory
|
||||
Get-ChildItem -Path "src" | Remove-Item -Recurse -Force -Confirm:$false
|
||||
|
||||
Reference in New Issue
Block a user