Browse Source

Try to setup binfmt_misc for wine executables on CI

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0
falkTX 4 years ago
parent
commit
cf8f57db7e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      .travis/install.sh

+ 2
- 0
.travis/install.sh View File

@@ -39,9 +39,11 @@ elif [ "${TARGET}" = "macos-old" ]; then

elif [ "${TARGET}" = "win32" ]; then
sudo apt-get install -y mingw-w64 binfmt-support binutils-mingw-w64-i686 g++-mingw-w64-i686 winehq-stable wine-binfmt
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register

elif [ "${TARGET}" = "win64" ]; then
sudo apt-get install -y mingw-w64 binfmt-support binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 winehq-stable wine-binfmt
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register

fi



Loading…
Cancel
Save