From 4b6aed41d91c3260c0ba3dede23cbada3540aa33 Mon Sep 17 00:00:00 2001 From: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Date: Sat, 31 Oct 2026 17:57:44 -0400 Subject: [PATCH] update build action for debug symbols --- .github/workflows/stable.yml | 2 +- Update-NightlyRelease.ps1 | 2 +- build-linux.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 26bd7d11..444e69b5 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -51,7 +51,7 @@ jobs: # Collect files, excluding unwanted extensions $files = Get-ChildItem -Path $source -Recurse -File | - Where-Object { $_.Extension -notin '.pch', '.zip', '.ipdb', '.iobj' } + Where-Object { $_.Extension -notin '.pch', '.zip', '.exp', '.iobj', '.ipdb', '.lib' } Add-Type -AssemblyName System.IO.Compression Add-Type -AssemblyName System.IO.Compression.FileSystem diff --git a/Update-NightlyRelease.ps1 b/Update-NightlyRelease.ps1 index 4da653a5..70e1847b 100644 --- a/Update-NightlyRelease.ps1 +++ b/Update-NightlyRelease.ps1 @@ -85,7 +85,7 @@ try { Get-ChildItem -Path $basePath -Recurse -File | ForEach-Object { $fullPath = $_.FullName - if ($_.Extension -ieq ".pch" -or $_.Extension -ieq ".zip") { + if ($_.Extension -in @(".pch", ".zip", ".exp", ".iobj", ".ipdb", ".lib")) { return } diff --git a/build-linux.sh b/build-linux.sh index 98cc262f..5da8dfdf 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -144,6 +144,7 @@ do_install() { info "Installing to $INSTALL_DIR..." mkdir -p "$INSTALL_DIR"/{client,server,fourkit} cp "$BUILD_DIR/Minecraft.Client/Minecraft.Client.exe" "$INSTALL_DIR/client/" + cp "$BUILD_DIR/Minecraft.Client/Minecraft.Client.pdb" "$INSTALL_DIR/client/" cp "$BUILD_DIR/Minecraft.Server/$BUILD_TYPE/Minecraft.Server.exe" "$INSTALL_DIR/server/" cp "$BUILD_DIR/Minecraft.Server.FourKit/$BUILD_TYPE/Minecraft.Server.exe" "$INSTALL_DIR/fourkit/" for asset in iggy_w64.dll Common music Windows64 Windows64Media; do