-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
18 lines (17 loc) · 992 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: 1.0.{build}
image: Visual Studio 2019
configuration: Release
before_build:
- cmd: git submodule -q update --init --recursive
build:
project: AriseFix.sln
verbosity: minimal
before_package:
- ps: "$releases = \"https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases\"\n$name = \"Ultimate-ASI-Loader_x64.zip\"\n \n$latestRelease = Invoke-WebRequest $releases/latest -Headers @{\"Accept\"=\"application/json\"}\n$json = $latestRelease.Content | ConvertFrom-Json\n$latestVersion = $json.tag_name\n$url = \"$releases/download/$latestVersion/$name\"\nStart-FileDownload $url -FileName 'C:\\Ultimate-ASI-Loader_x64.zip'\n7z e c:\\Ultimate-ASI-Loader_x64.zip -oc:\\projects\\AriseFix\\Binaries\\Win64\ncd \"Binaries\\Win64\"\nRename-Item -Path \"dinput8.dll\" -NewName \"dsound.dll\""
after_build:
- cmd: >-
cd c:\projects\AriseFix\Binaries\Win64\plugins
del *.bat
artifacts:
- path: Binaries\Win64
name: AriseFix_Win64_Build-$(configuration)-v$(appveyor_build_version)