From 989fc0acea00d8d7d82de214f05f3be91bb6fbca Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 28 Apr 2020 11:32:14 +0200 Subject: [PATCH] Fix artifacts. --- resources/scripts/.appveyor-build-win.ps1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/scripts/.appveyor-build-win.ps1 b/resources/scripts/.appveyor-build-win.ps1 index 60f137ddf..35cb9072f 100644 --- a/resources/scripts/.appveyor-build-win.ps1 +++ b/resources/scripts/.appveyor-build-win.ps1 @@ -1,7 +1,9 @@ # List startup folder. $old_pwd=$pwd.Path -ls "C:\OpenSSL-v111-Win64\bin" +ssl_bin="C:\OpenSSL-v111-Win64\bin" + +ls "$ssl_bin" ls "C:\Program Files\MySQL\MySQL Server 5.7\lib" ls "$env:QTDIR" @@ -24,5 +26,12 @@ nmake.exe install cd "app" windeployqt.exe --verbose 1 --compiler-runtime --no-translations --release rssguard.exe librssguard.dll cd ".." + +# Copy OpenSSL. +Copy-Item -Path "$ssl_bin\libcrypto*.dll" -Destination ".\app\" +Copy-Item -Path "$ssl_bin\libssl*.dll" -Destination ".\app\" + +# Build/copy MySQL Qt plugin. + nmake.exe windows_all cd "$old_pwd" \ No newline at end of file