From 9ba4ec5d8000ea37db783d3570fbcfbd686a8183 Mon Sep 17 00:00:00 2001 From: Markson Date: Wed, 14 Dec 2022 14:24:26 +0800 Subject: [PATCH] Add v2rayA bin releases --- install/windows-inno/build-helper.ps1 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/install/windows-inno/build-helper.ps1 b/install/windows-inno/build-helper.ps1 index 99d275a8..0319c6fc 100644 --- a/install/windows-inno/build-helper.ps1 +++ b/install/windows-inno/build-helper.ps1 @@ -43,16 +43,6 @@ Copy-Item -Path ./web ./service/server/router/ -Recurse New-Item -ItemType Directory -Path ./ -Name "v2raya-x86_64-windows"; New-Item -ItemType Directory -Path ".\v2raya-x86_64-windows\bin" New-Item -ItemType Directory -Path ./ -Name "v2raya-arm64-windows"; New-Item -ItemType Directory -Path ".\v2raya-arm64-windows\bin" -# if ($REF -eq "refs/tags/v*") { -# Write-Host $REF -# $VERSION = (git describe --tags $(git rev-list --tags --max-count=1)).replace("v","") -# }else { -# $Date = $((git log -1 --format="%cd" --date=short) -replace "-","") -# $count = git rev-list --count HEAD -# $commit = git rev-parse --short HEAD -# $VERSION = "unstable-$date.r$count.$commit" -# } - Set-Location -Path ./service $VERSION = ${env:VERSION} $env:CGO_ENABLED = "0" @@ -134,4 +124,6 @@ $(Get-Content -Path .\install\windows-inno\windows_arm64.iss).replace("TheRealVe & 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' "D:\windows_arm64.iss" Copy-Item "D:\installer_windows_inno_x64.exe" ".\installer_windows_inno_x64.exe" -Copy-Item "D:\installer_windows_inno_arm64.exe" ".\installer_windows_inno_arm64.exe" \ No newline at end of file +Copy-Item "D:\installer_windows_inno_arm64.exe" ".\installer_windows_inno_arm64.exe" +Copy-Item "./v2raya-x86_64-windows/bin/v2raya.exe" "./v2raya_windows_x64_$VERSION.exe" +Copy-Item "./v2raya-arm64-windows/bin/v2raya.exe" "./v2raya_windows_arm64_$VERSION.exe" \ No newline at end of file