From 4cacdc045560f0c8a27d7267e78062e4f1087d2b Mon Sep 17 00:00:00 2001 From: Brett Mayson Date: Fri, 18 Oct 2024 06:33:18 +0000 Subject: [PATCH] wine64 --- .github/workflows/build.yaml | 6 +----- bin/src/modules/binarize/mod.rs | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 96c620ad..8d401ac5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -122,15 +122,11 @@ jobs: - name: Install Wine if: startsWith(matrix.os.runner, 'ubuntu') run: | - sudo dpkg --add-architecture i386 sudo apt-get update - sudo apt-get install -y wine32 winbind xvfb winetricks - winetricks physx d3dx11_43 d3dx9_43 - Xvfb :99 -screen 0 1024x768x16 & + sudo apt-get install -y wine64 - name: Run `hemtt build` on ${{ matrix.mod.repo }} env: HEMTT_BI_TOOLS: /tmp/arma3tools - DISPLAY: :99.0 run: | cd mod && hemtt build - name: Tree diff --git a/bin/src/modules/binarize/mod.rs b/bin/src/modules/binarize/mod.rs index c056a127..a853fe03 100644 --- a/bin/src/modules/binarize/mod.rs +++ b/bin/src/modules/binarize/mod.rs @@ -268,7 +268,8 @@ impl Module for Binarize { let mut cmd = Command::new("wine"); cmd.arg(exe); cmd.env("WINEPREFIX", "/tmp/hemtt-wine"); - std::fs::create_dir_all("/tmp/hemtt-wine").expect("should be able to create wine prefix"); + std::fs::create_dir_all("/tmp/hemtt-wine") + .expect("should be able to create wine prefix"); cmd }; cmd.args([