mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 16:11:34 +03:00
15 lines
510 B
PowerShell
15 lines
510 B
PowerShell
|
echo "----- create windows64 installer -----"
|
||
|
|
||
|
$actual_dir=(Get-Location).Path
|
||
|
|
||
|
# install NSIS
|
||
|
if (Get-Command makensis) {echo "makensis already installed"} else {choco install --confirm --no-progress nsis}
|
||
|
$nsis_dir=(Get-Command makensis).path | Split-Path -Parent
|
||
|
Expand-Archive -Path "$PSScriptRoot\..\..\bin\windows\EnVar_plugin.zip" -DestinationPath "$nsis_dir" -Verbose
|
||
|
|
||
|
# create win64 installer
|
||
|
cd $PSScriptRoot\..\..\target\win-package
|
||
|
makensis.exe /NOCD /V4 ..\..\bin\windows\hurl.nsi
|
||
|
|
||
|
cd $actual_dir
|