diff --git a/Minecraft.Client/postbuild.ps1 b/Minecraft.Client/postbuild.ps1 index 6d2bda12b..405ca2392 100644 --- a/Minecraft.Client/postbuild.ps1 +++ b/Minecraft.Client/postbuild.ps1 @@ -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 } -} \ No newline at end of file +} + +git restore "**/BuildVer.h" \ No newline at end of file diff --git a/Minecraft.Client/prebuild.ps1 b/Minecraft.Client/prebuild.ps1 index 99078e9e5..47854ca0d 100644 --- a/Minecraft.Client/prebuild.ps1 +++ b/Minecraft.Client/prebuild.ps1 @@ -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." } \ No newline at end of file