mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
updated as review requested
This commit is contained in:
parent
b941a27b90
commit
bcc8fe25ea
|
|
@ -38,4 +38,6 @@ foreach ($copy in $copies) {
|
|||
# Copy the files using xcopy, forcing overwrite and suppressing errors, and only copying if the source is newer than the destination
|
||||
xcopy /q /y /i /s /e /d "$src" "$dst" 2>$null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
git restore "**/BuildVer.h"
|
||||
|
|
@ -42,7 +42,4 @@ $existing = if (Test-Path $path) { Get-Content $path -Raw } else { "" }
|
|||
|
||||
if ($existing.Trim() -ne $newContent.Trim()) {
|
||||
$newContent | Set-Content $path
|
||||
Write-Host "BuildVer.h aggiornato."
|
||||
} else {
|
||||
Write-Host "BuildVer.h invariato, skip."
|
||||
}
|
||||
Loading…
Reference in a new issue