mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Fix Windows Terminal profile installation (#12714)
# Description The command used to edit the Windows Terminal profiling was failing due to the `open file | save -f file` metadata safeguard introduced in this version. With this, the installer is now fixed again.
This commit is contained in:
parent
734a3b5f2c
commit
3c022e334f
1 changed files with 2 additions and 1 deletions
|
@ -392,10 +392,11 @@
|
|||
|
||||
<Property Id='ARPHELPLINK' Value='https://www.nushell.sh/book/'/>
|
||||
|
||||
<!-- for Value, see https://learn.microsoft.com/en-ca/windows/win32/msi/formatted -->
|
||||
<SetProperty
|
||||
Id="ReplacePathsInWindowsTerminalProfile"
|
||||
Sequence="execute"
|
||||
Value=""[#exe0]" -c "open `[#WindowsTerminalProfileFile]` | update profiles.commandline `[#exe0]` | update profiles.icon `[#icon0]` | save -f `[#WindowsTerminalProfileFile]`""
|
||||
Value=""[#exe0]" -c "let doc = (open `[#WindowsTerminalProfileFile]` | update profiles.commandline `[#exe0]` | update profiles.icon `[#icon0]`); $doc | save -f `[#WindowsTerminalProfileFile]`""
|
||||
After='CostFinalize'/>
|
||||
<CustomAction
|
||||
Id="ReplacePathsInWindowsTerminalProfile"
|
||||
|
|
Loading…
Reference in a new issue