Skip to content

Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic

fix(windows): link advapi32 for the GUI (service/registry/token APIs)

AnoF-Cyber225513a6261b
diff --git a/Windows/compile.ps1 b/Windows/compile.ps1
index b0272c4..327f289 100644
--- a/Windows/compile.ps1
+++ b/Windows/compile.ps1
@@ -214,7 +214,7 @@ if ($success) {
"/Fe:ProxyBridge.exe " +
"/link /LTCG /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /RELEASE " +
"/DYNAMICBASE /HIGHENTROPYVA /NXCOMPAT /guard:cf /CETCOMPAT " +
- "user32.lib gdi32.lib comctl32.lib shell32.lib comdlg32.lib winhttp.lib"
+ "user32.lib gdi32.lib comctl32.lib shell32.lib comdlg32.lib winhttp.lib advapi32.lib"
# Sources live in subfolders. rc runs from res\ so app.rc's relative paths
# (resource.h, app.manifest, logo.ico) resolve; it writes app.res back to gui\.