fix nsis path on win64 contrib doc

This commit is contained in:
lepapareil 2021-03-02 20:37:29 +01:00
parent ea90b59b38
commit 41df46ff77
2 changed files with 2 additions and 2 deletions

View File

@ -117,5 +117,5 @@ cd c:\hurl\target\win-package
setx /M path "%path%;C:\Program Files (x86)\NSIS\Bin" setx /M path "%path%;C:\Program Files (x86)\NSIS\Bin"
refreshenv refreshenv
cd c:\hurl\target\win-package cd c:\hurl\target\win-package
makensis /NOCD /V4 c:\hurl\contrib\windows\hurl.nsi makensis /NOCD /V4 c:\hurl\ci\windows\hurl.nsi
``` ```

View File

@ -129,5 +129,5 @@ $oldpath = Get-ItemProperty -Path HKCU:\Environment -Name Path
$newpath = $oldpath.Path += ";C:\Program Files (x86)\NSIS\Bin" $newpath = $oldpath.Path += ";C:\Program Files (x86)\NSIS\Bin"
Set-ItemProperty -Path HKCU:\Environment -Name Path -Value $newpath Set-ItemProperty -Path HKCU:\Environment -Name Path -Value $newpath
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
makensis.exe /NOCD /V4 ..\..\contrib\windows\hurl.nsi makensis.exe /NOCD /V4 ..\..\ci\windows\hurl.nsi
``` ```