fix: windows nsis installer powershell executions run in -noprofile mode (#4231)
This commit is contained in:
parent
8bff4d0780
commit
458a4a5f6b
2 changed files with 4 additions and 3 deletions
|
|
@ -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'"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue