Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env bash
# set shell settings (see https://sipb.mit.edu/doc/safe-shell/)
set -euv -o pipefail
# Copy VC Runtime DLLs (no idea what I'm doing here, but it seems to work...)
cp -v C:/Windows/SysWOW64/vc*140.dll ./build/install/opt/bin/
cp -v C:/Windows/SysWOW64/msvcp140*.dll ./build/install/opt/bin/
# Copy OpenSSL DLLs (required to get HTTPS working)
cp -v C:/Qt/Tools/OpenSSL/Win_x86/bin/lib*.dll ./build/install/opt/bin/
# Copy OpenCascade DLLs
cp -v C:/OpenCascade/win32/gcc/bin/libTK*.dll ./build/install/opt/bin/
# Copy MinGW DLLs
cp -v "`qmake -query QT_INSTALL_PREFIX`"/bin/lib*.dll ./build/install/opt/bin/
# Copy Qt DLLs
windeployqt --compiler-runtime --force \
--qmldir=./build/install/opt/share/librepcb/qml \
./build/install/opt/bin/librepcb.exe
windeployqt --compiler-runtime --force ./build/install/opt/bin/librepcb-cli.exe
# Test if the bundles are working (hopefully catching deployment issues).
./build/install/opt/bin/librepcb-cli.exe --version
./build/install/opt/bin/librepcb.exe --exit-after-startup
# Copy everything to artifacts directory for deployment
cp -r ./build/install/opt/. ./artifacts/nightly_builds/librepcb-nightly-windows-x86/
166ad2d85This file is pinned to the selected release. Download the original to open it in your design tool.