Update wine binfmt_misc instructions
Something changed for me with Ubuntu 18.04, so try to capture it.
@@ -6,12 +6,19 @@ Wine to run the regression tests.
First, make sure that 32-bit builds work and install dependencies:
+```sh
sudo dpkg --add-architecture i386
sudo apt-get update
- sudo apt-get install build-essential autoconf pkg-config libtool mtools unzip wine gcc-mingw-w64-x86-64
+sudo apt-get install build-essential autoconf pkg-config libtool mtools unzip wine wine-binfmt gcc-mingw-w64-x86-64
+
+# I had to manually import the wine binfmt description on one install. You'll
+# know this is an issue if running `fwup.exe` doesn't work.
+sudo update-binfmts --import /usr/share/binfmts/wine
+```
Then, run a static build using the mingw compiler:
+```sh
export CROSS_COMPILE=x86_64-w64-mingw32
export CC=$CROSS_COMPILE-gcc
@@ -23,9 +30,13 @@ Then, run a static build using the mingw compiler:
# scripts/ubuntu_install_chocolatey.sh if something goes wrong.
./scripts/build_pkg.sh
+```
The script should exit successfully and you should have a `fwup.exe` binary and a `fwup.*.nupkg` Chocolatey package.
To install a pre-release Chocolatey Package:
+```sh
choco install fwup.*.nupkg -pre
+```
+
