From b7496a473231e425e63cd3a978fd1f7a90de3dda Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Sat, 14 Feb 2026 02:58:17 -0700 Subject: [PATCH] Implement error handling for GTK extraction Added error handling for gtk.7z extraction failure. --- .github/workflows/windows-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index d209e3bd..5b223b87 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -96,6 +96,10 @@ jobs: Invoke-WebRequest https://github.com/ZoiteChat/gvsbuild/releases/download/zoitechat-2.18.0-pre1/gtk-x64-2026.7z -OutFile deps\gtk.7z & 7z.exe x deps\gtk.7z -oC:\gtk-build\gtk + if ($LASTEXITCODE -gt 1) { + throw "gtk.7z extraction failed with exit code $LASTEXITCODE" + } + if ("${{ matrix.platform }}" -eq "win32" -and (Test-Path "C:\gtk-build\gtk\x86")) { $gtkRoot = "C:\gtk-build\gtk" foreach ($alias in @("Win32", "win32")) {