MysticBoy 4 years ago
parent
commit
f99e5a38f1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      appveyor.yml

+ 4
- 4
appveyor.yml View File

@@ -30,7 +30,7 @@
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
image: Visual Studio 2019
# scripts that are called at very beginning, before repo cloning
# init:
@@ -115,11 +115,11 @@ after_build:
$WorkingFolder = "$env:APPVEYOR_BUILD_FOLDER\working"
$ExeFileName = "Shadowsocks-$env:APPVEYOR_BUILD_VERSION-$env:CONFIGURATION.exe"
$ExeFile = "$WorkingFolder\$ExeFileName"
$ExeFile = "$WorkingFolder\$DNVer\$ExeFileName"
$ExeHashFile = "$Exefile.hash"
New-Item $WorkingFolder -ItemType Directory -Force
Copy-Item $env:APPVEYOR_BUILD_FOLDER\shadowsocks-csharp\bin\$env:PLATFORM\$env:CONFIGURATION\Shadowsocks.exe $WorkingFolder\Shadowsocks.exe
Copy-Item $env:APPVEYOR_BUILD_FOLDER\shadowsocks-csharp\bin\$env:CONFIGURATION\net472\Shadowsocks.exe $WorkingFolder\Shadowsocks.exe
Copy-Item $WorkingFolder\Shadowsocks.exe $ExeFile
CalculateHash -file $Exefile | Out-File -FilePath $ExeHashFile
@@ -183,4 +183,4 @@ deploy:
# deploy_script:
# # to disable deployment
#deploy: off
#deploy: off

Loading…
Cancel
Save