fix: windows nsis installer powershell executions run in -noprofile mode (#4231)
This commit is contained in:
@@ -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'"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user