diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-01-15 09:54:25 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-01-24 17:35:04 +0100 |
| commit | feb0229b43efe8bec1d89503f4d6eaf07625418f (patch) | |
| tree | 2d69b75342a1651b0808f09f247536a19305979b | |
| parent | 26a36bd823d9b9fcb0653baf602822aada60f58c (diff) | |
| download | mullvadvpn-feb0229b43efe8bec1d89503f4d6eaf07625418f.tar.xz mullvadvpn-feb0229b43efe8bec1d89503f4d6eaf07625418f.zip | |
Pack libwg.dll and maybenot.dll for wireguard-go
| -rwxr-xr-x | build.sh | 2 | ||||
| -rw-r--r-- | desktop/packages/mullvad-vpn/tasks/distribution.js | 2 | ||||
| -rw-r--r-- | wireguard-go-rs/build.rs | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -265,6 +265,8 @@ function build { mullvad-problem-report.exe talpid_openvpn_plugin.dll mullvad-setup.exe + libwg.dll + maybenot_ffi.dll ) fi diff --git a/desktop/packages/mullvad-vpn/tasks/distribution.js b/desktop/packages/mullvad-vpn/tasks/distribution.js index d05fdd4a69..adb95419fe 100644 --- a/desktop/packages/mullvad-vpn/tasks/distribution.js +++ b/desktop/packages/mullvad-vpn/tasks/distribution.js @@ -177,6 +177,8 @@ function newConfig() { ), to: '.', }, + { from: distAssets(path.join('${env.DIST_SUBDIR}', 'libwg.dll')), to: '.' }, + { from: distAssets(path.join('${env.DIST_SUBDIR}', 'maybenot_ffi.dll')), to: '.' }, { from: distAssets('maybenot_machines'), to: '.' }, ], }, diff --git a/wireguard-go-rs/build.rs b/wireguard-go-rs/build.rs index 230d6c3e52..98eb4e64d1 100644 --- a/wireguard-go-rs/build.rs +++ b/wireguard-go-rs/build.rs @@ -263,7 +263,7 @@ fn build_shared_maybenot_lib(out_dir: impl AsRef<Path>) -> anyhow::Result<()> { // Copy library to desired target dir for (src_filename, dest_filename) in [ - ("maybenot_ffi.dll", "maybenot.dll"), + ("maybenot_ffi.dll", "maybenot_ffi.dll"), ("maybenot_ffi.dll.lib", "maybenot.lib"), ] { let dest = out_dir.as_ref().join(dest_filename); |
