diff --git a/appveyor.yml b/appveyor.yml index 631226728..02755fa17 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -85,11 +85,12 @@ after_build: rm .\msvc_build\bin\release\*.pdb mkdir $RELEASE_DIST + Copy-Item .\dlls\SDL2.dll -force -Destination $RELEASE_DIST Copy-Item .\msvc_build\bin\release\* -Destination $RELEASE_DIST -Recurse Copy-Item .\license.txt -Destination $RELEASE_DIST Copy-Item .\README.md -Destination $RELEASE_DIST - 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* .\dlls\SDL2.dll - 7z a $MSVC_SEVENZIP $RELEASE_DIST .\dlls\SDL2.dll + 7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\* + 7z a $MSVC_SEVENZIP $RELEASE_DIST } else { $MINGW_BUILD_ZIP = "citra-windows-mingw-$GITDATE-$GITREV.zip" -replace " ", "" $MINGW_SEVENZIP = "citra-windows-mingw-$GITDATE-$GITREV.7z" -replace " ", "" @@ -111,7 +112,8 @@ after_build: mkdir $RELEASE_DIST/platforms # copy the compiled binaries and other release files to the release folder - Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "citra*.exe" | Copy-Item -destination $RELEASE_DIST + Copy-Item $CMAKE_SOURCE_DIR\dlls\SDL2.dll -force -Destination $RELEASE_DIST + Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "citra*.exe" | Copy-Item -destination $RELEASE_DIST # copy the libcurl dll Get-ChildItem "$CMAKE_BINARY_DIR" -Recurse -Filter "libcurl.dll" | Copy-Item -destination $RELEASE_DIST Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST @@ -138,8 +140,8 @@ after_build: # copy the qt windows plugin dll to platforms Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms" - 7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\* $CMAKE_SOURCE_DIR\dlls\SDL2.dll - 7z a $MINGW_SEVENZIP $RELEASE_DIST $CMAKE_SOURCE_DIR\dlls\SDL2.dll + 7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\* + 7z a $MINGW_SEVENZIP $RELEASE_DIST } test_script: