diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-09-21 13:13:56 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-09-24 16:36:49 +0200 |
| commit | 3ce466bb2388e951a66ca9edea1d3e84a704a2ee (patch) | |
| tree | 54cb07daf2396b5aa7f9033c76ba65d0ff8c8c40 /build.sh | |
| parent | e0619be7d66bd3db2136d640e15131685d6084b9 (diff) | |
| download | mullvadvpn-3ce466bb2388e951a66ca9edea1d3e84a704a2ee.tar.xz mullvadvpn-3ce466bb2388e951a66ca9edea1d3e84a704a2ee.zip | |
Use winres in all binary crates to set Windows resource metadata
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -78,6 +78,7 @@ function restore_metadata_backups() { mv mullvad-daemon/Cargo.toml.bak mullvad-daemon/Cargo.toml || true mv mullvad-cli/Cargo.toml.bak mullvad-cli/Cargo.toml || true mv mullvad-problem-report/Cargo.toml.bak mullvad-problem-report/Cargo.toml || true + mv talpid-openvpn-plugin/Cargo.toml.bak talpid-openvpn-plugin/Cargo.toml || true mv dist-assets/windows/version.h.bak dist-assets/windows/version.h || true popd } @@ -92,7 +93,8 @@ sed -i.bak \ -Ee "s/^version = \"[^\"]+\"\$/version = \"$SEMVER_VERSION\"/g" \ mullvad-daemon/Cargo.toml \ mullvad-cli/Cargo.toml \ - mullvad-problem-report/Cargo.toml + mullvad-problem-report/Cargo.toml \ + talpid-openvpn-plugin/Cargo.toml SEMVER_ARRAY=($(echo $SEMVER_VERSION | sed -Ee 's/[.-]+/ /g')) SEMVER_MAJOR=${SEMVER_ARRAY[0]} |
