summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/cleanup/cleanup.cpp
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-08-07 13:50:30 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-08-07 13:50:30 +0200
commitd7072af9eb1c75c60d5fdc8ebb042e62ff776913 (patch)
treeda2c9c9161542e7619227c05c1fabdbf5fbdebae /windows/nsis-plugins/src/cleanup/cleanup.cpp
parent50225d7666a8a5a70fa3ac5775f2a372110bdb58 (diff)
parent35fa899e46316caf7669eee8bab7eb2fb6e84107 (diff)
downloadmullvadvpn-d7072af9eb1c75c60d5fdc8ebb042e62ff776913.tar.xz
mullvadvpn-d7072af9eb1c75c60d5fdc8ebb042e62ff776913.zip
Merge branch 'win-fix-update-compat'
Diffstat (limited to 'windows/nsis-plugins/src/cleanup/cleanup.cpp')
-rw-r--r--windows/nsis-plugins/src/cleanup/cleanup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/cleanup/cleanup.cpp b/windows/nsis-plugins/src/cleanup/cleanup.cpp
index ca943934a7..b52c269577 100644
--- a/windows/nsis-plugins/src/cleanup/cleanup.cpp
+++ b/windows/nsis-plugins/src/cleanup/cleanup.cpp
@@ -7,6 +7,9 @@
#include <functional>
#include <vector>
+// NOTE: Linker refuses to find the library unless specified here
+#pragma comment(lib, "version.lib")
+
void __declspec(dllexport) NSISCALL RemoveLogsAndCache
(
HWND hwndParent,