diff --git a/appveyor.yml b/appveyor.yml index d3af3c1..b8cb845 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,15 +7,15 @@ configuration: - Release install: - cmd: git submodule -q update --init +before_build: +- ps: | + Invoke-WebRequest "https://downloads.vigem.org/other/nefarius/vpatch/vpatch.exe" -OutFile vpatch.exe + .\vpatch.exe --version "$env:APPVEYOR_BUILD_VERSION" --target-file ".\sys\ViGEmBus.vcxproj" --vcxproj.inf-time-stamp + .\vpatch.exe --version "$env:APPVEYOR_BUILD_VERSION" --target-file ".\sys\ViGEmBus.rc" --resource.file-version --resource.product-version build: project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln -#after_build: -#- ps: | -# Invoke-WebRequest "https://downloads.vigem.org/other/pavel-a/ddverpatch/verpatch-1.0.15.1-x86-codeplex.zip" -OutFile verpatch-1.0.15.1-x86-codeplex.zip -# Expand-Archive verpatch-1.0.15.1-x86-codeplex.zip -DestinationPath . -# .\verpatch.exe ".\bin\$env:PLATFORM\ViGEmBus.sys" "$env:APPVEYOR_BUILD_VERSION" -# .\verpatch.exe ".\bin\$env:PLATFORM\ViGEmBus.sys" /pv "$env:APPVEYOR_BUILD_VERSION" -# makecab.exe /f ViGEmBus.ddf +after_build: +- cmd: makecab.exe /f ViGEmBus.ddf artifacts: - path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.inf' - path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.sys'