Skip to content

Commit

Permalink
wine64
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 18, 2024
1 parent 1eebe1a commit 4cacdc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion bin/src/modules/binarize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 4cacdc0

Please sign in to comment.