| 1 | #!/bin/bash |
| 2 | |
| 3 | mkdir packageDir |
| 4 | mv build/src/ksnip*.exe packageDir/ksnip.exe |
| 5 | |
| 6 | windeployqt.exe --no-opengl-sw --no-system-d3d-compiler --no-compiler-runtime --release packageDir/ksnip.exe |
| 7 | |
| 8 | cp build/translations/ksnip_*.qm ./packageDir/translations/ |
| 9 | cp kImageAnnotator/build/translations/kImageAnnotator_*.qm ./packageDir/translations/ |
| 10 | |
| 11 | cp "${OPENSSL_DIR}"/*.dll ./packageDir/ |
| 12 | |
| 13 | cp "${COMPILE_RUNTIME_DIR}"/*.dll ./packageDir/ |
| 14 | |
| 15 | mkdir packageDir/plugins |
| 16 | |
| 17 | 7z a ksnip-${VERSION}-windows.zip ./packageDir/* |