From bcc8fe25eabc5b1f49cded33f46ed115ff0ae229 Mon Sep 17 00:00:00 2001 From: MrTheShy <49885496+MrTheShy@users.noreply.github.com> Date: Wed, 11 Mar 2026 23:22:13 +0100 Subject: [PATCH] updated as review requested --- Minecraft.Client/postbuild.ps1 | 4 +++- Minecraft.Client/prebuild.ps1 | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) 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