Преглед изворни кода

Add NoProfile option to powershell scripts run during windows instaler

Closes #GHSA-62gx-54j7-mjh3
Armin Schrenk пре 1 година
родитељ
комит
151f2babd8
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      dist/win/contrib/patchWebDAV.bat
  2. 1 1
      dist/win/contrib/version170-migrate-settings.bat

+ 1 - 1
dist/win/contrib/patchWebDAV.bat

@@ -3,5 +3,5 @@
 ::REPLACE ME
 
 cd %~dp0
-powershell -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command .\patchWebDAV.ps1^
+powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command .\patchWebDAV.ps1^
  -LoopbackAlias %LOOPBACK_ALIAS%

+ 1 - 1
dist/win/contrib/version170-migrate-settings.bat

@@ -2,4 +2,4 @@
 :: see comments in file ./version170-migrate-settings.ps1
 
 cd %~dp0
-powershell -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command .\version170-migrate-settings.ps1
+powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command .\version170-migrate-settings.ps1