mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
copy OpenSSL dlls for Windows build
This commit is contained in:
parent
db9903b906
commit
510fef8cc2
@ -39,6 +39,8 @@ build_script:
|
|||||||
# scripts that run after build
|
# scripts that run after build
|
||||||
after_build:
|
after_build:
|
||||||
- set vnote_version=1.4
|
- set vnote_version=1.4
|
||||||
|
# Clone OpenSSL DLLs
|
||||||
|
- git clone https://github.com/tamlok/openssl-utils.git openssl-utils.git
|
||||||
- mkdir distrib\VNote
|
- mkdir distrib\VNote
|
||||||
- windeployqt.exe --dir .\distrib\VNote %APPVEYOR_BUILD_FOLDER%\build\src\release\VNote.exe
|
- windeployqt.exe --dir .\distrib\VNote %APPVEYOR_BUILD_FOLDER%\build\src\release\VNote.exe
|
||||||
- copy "%APPVEYOR_BUILD_FOLDER%\build\src\release\VNote.exe" "distrib\VNote\VNote.exe"
|
- copy "%APPVEYOR_BUILD_FOLDER%\build\src\release\VNote.exe" "distrib\VNote\VNote.exe"
|
||||||
@ -46,6 +48,9 @@ after_build:
|
|||||||
- copy "%APPVEYOR_BUILD_FOLDER%\LICENSE" "distrib\VNote\LICENSE.txt"
|
- copy "%APPVEYOR_BUILD_FOLDER%\LICENSE" "distrib\VNote\LICENSE.txt"
|
||||||
- echo %vnote_version% > "distrib\VNote\version.txt"
|
- echo %vnote_version% > "distrib\VNote\version.txt"
|
||||||
- echo %APPVEYOR_REPO_COMMIT% >> "distrib\VNote\version.txt"
|
- echo %APPVEYOR_REPO_COMMIT% >> "distrib\VNote\version.txt"
|
||||||
|
# Copy OpenSSL DLLs
|
||||||
|
- if "%PLATFORM%" EQU "X64" (xcopy "openssl-utils.git\win64\*.dll" "distrib\VNote")
|
||||||
|
- if "%PLATFORM%" EQU "x86" (xcopy "openssl-utils.git\win32\*.dll" "distrib\VNote")
|
||||||
- cd distrib
|
- cd distrib
|
||||||
- 7z a VNote_win_%PLATFORM%_portable_%vnote_version%.zip VNote
|
- 7z a VNote_win_%PLATFORM%_portable_%vnote_version%.zip VNote
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user