From 56d3060d89a856fd445ba6073e45b0316385a281 Mon Sep 17 00:00:00 2001 From: rainlizard <15337628+rainlizard@users.noreply.github.com> Date: Tue, 28 Jan 2025 21:57:03 +1100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f1a97f9..37d7b7b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,13 +52,15 @@ jobs: - name: Install Wine run: | - sudo dpkg --add-architecture i386 sudo apt-get update - sudo apt-get install -y wine64 wine - sudo ldconfig - which wine64 + sudo apt-get install -y wine64 + - name: Verify Wine Installation + run: | + if ! command -v wine64 &> /dev/null; then + echo "ERROR: wine64 is not installed or not in PATH" + exit 1 + fi wine64 --version - sleep 5 # Give the system a moment to fully register the wine64 command - name: Download rcedit run: | wget https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe -O rcedit.exe