fix: windows nsis installer powershell executions run in -noprofile mode (#4231)

This commit is contained in:
Scott Munro
2025-09-06 10:30:16 -07:00
committed by GitHub
parent 8bff4d0780
commit 458a4a5f6b
2 changed files with 4 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ if exist "%OLD_DIR%\covers\" (
move "%OLD_DIR%\covers" "%NEW_DIR%\"
rem Fix apps.json image path values that point at the old covers directory
powershell -c "(Get-Content '%NEW_DIR%\apps.json').replace('.\/covers\/', '.\/config\/covers\/') | Set-Content '%NEW_DIR%\apps.json'"
powershell -NoProfile -c "(Get-Content '%NEW_DIR%\apps.json').replace('.\/covers\/', '.\/config\/covers\/') | Set-Content '%NEW_DIR%\apps.json'"
)
)