Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic
C ccybersecurityhttp3httpproxylinuxlinux-proxymacosmacos-appmacos-proxyproxifierproxifier-alternativeproxyclienttcpthick-clientudpwindivertwindows
fix(windows): the installer's 'Run ProxyBridge now' started the app with administrator rights
AnoF-Cyberba41f0ae518a
diff --git a/Windows/installer/ProxyBridge.nsi b/Windows/installer/ProxyBridge.nsiindex 40f0b84..92db113 100644--- a/Windows/installer/ProxyBridge.nsi+++ b/Windows/installer/ProxyBridge.nsi@@ -38,7 +38,11 @@ RequestExecutionLevel admin!insertmacro MUI_PAGE_INSTFILES; Finish page offers to launch ProxyBridge - checkbox is checked by default.-!define MUI_FINISHPAGE_RUN "$INSTDIR\ProxyBridge.exe"+; The installer runs elevated, and a program it starts directly would inherit administrator rights. ProxyBridge is+; meant to run as a normal user (the engine service does the privileged work), so launch it through Explorer, which+; starts it with the signed-in user's normal rights.+!define MUI_FINISHPAGE_RUN+!define MUI_FINISHPAGE_RUN_FUNCTION LaunchAppAsUser!define MUI_FINISHPAGE_RUN_TEXT "Run ProxyBridge now"!insertmacro MUI_PAGE_FINISH@@ -47,6 +51,10 @@ RequestExecutionLevel admin!insertmacro MUI_LANGUAGE "English"+Function LaunchAppAsUser+ Exec '"$WINDIR\explorer.exe" "$INSTDIR\ProxyBridge.exe"'+FunctionEnd+Section "MainSection" SEC01; A running ProxyBridge locks the files we need to overwrite. Detect it and ask; the user before closing it, instead of killing it silently.