From 96054a0b5ef48b94248f2cebde0b7b81e30ce3a0 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 25 Mar 2025 17:22:33 -0400 Subject: [PATCH] Rack no longer needs Controlled Folder Access to Documents on Windows since Rack 2.5.0. --- installer.nsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/installer.nsi b/installer.nsi index 870451cb..748b4967 100644 --- a/installer.nsi +++ b/installer.nsi @@ -115,10 +115,6 @@ Section "${NAME}" INSTALL_SECTION ; Create shortcuts CreateShortcut "$DESKTOP\${NAME}.lnk" "$INSTDIR\Rack.exe" CreateShortcut "$SMPROGRAMS\${NAME}.lnk" "$INSTDIR\Rack.exe" - - ; Add allowed app to Controlled Folder Access - ExpandEnvStrings $0 "%COMSPEC%" - ExecShellWait "" '"$0"' "/C powershell -ExecutionPolicy Bypass -WindowStyle Hidden $\"Add-MpPreference -ControlledFolderAccessAllowedApplications '$INSTDIR\Rack.exe'$\"" SW_HIDE SectionEnd