hurl/bin/release/create_windows64_installer.ps1

15 lines
556 B
PowerShell
Raw Normal View History

2022-09-27 10:04:21 +03:00
powershell write-host -foregroundcolor Cyan "----- 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
2022-09-28 18:41:43 +03:00
Expand-Archive -Path "$PSScriptRoot\..\..\bin\windows\EnVar_plugin.zip" -DestinationPath "$nsis_dir" -Force -Verbose
# create win64 installer
cd $PSScriptRoot\..\..\target\win-package
makensis.exe /NOCD /V4 ..\..\bin\windows\hurl.nsi
cd $actual_dir