diff options
| -rwxr-xr-x | build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -44,14 +44,16 @@ if [[ "$(uname -s)" = "Darwin" ]]; then fi fi - # Remove binaries. To make sure it is rebuilt with the stable toolchain and the latest changes. cargo +stable clean +if [[ "$(uname -s)" == "MINGW"* ]]; then + ./build_winfw.sh +fi + echo "Compiling mullvad-daemon in release mode with $RUSTC_VERSION..." cargo +stable build --release - binaries=( ./target/release/mullvad-daemon ./target/release/mullvad @@ -72,6 +74,7 @@ echo "Packing final release artifact..." case "$(uname -s)" in Linux*) yarn pack:linux;; Darwin*) yarn pack:mac;; + MINGW*) yarn pack:win;; esac RELEASE_VERSION=`./target/release/mullvad-daemon --version | cut -f2 -d' '` |
