deploy all new dlls with windows build

This commit is contained in:
itsmattkc
2019-09-15 16:32:49 +10:00
parent 8b9d453e0c
commit a1ea8bf3f6
+14 -12
View File
@@ -29,22 +29,24 @@ cp ../app/olive-editor.exe .
# Inject Qt libraries # Inject Qt libraries
windeployqt --debug olive-editor.exe windeployqt --debug olive-editor.exe
# Inject all other libraries # Inject all other libraries (loops over dependency output from ldd)
cp /mingw64/bin/libgcc_s_seh*.dll . ldd olive-editor.exe | while read -r dep
cp /mingw64/bin/libstdc++*.dll . do
cp /mingw64/bin/av*.dll . # Acquire full path to dependency
cp /mingw64/bin/sw*.dll . dep_output=( $dep )
cp /mingw64/bin/postproc*.dll . dep_path=${dep_output[2]}
cp /mingw64/bin/libOpenColorIO*.dll .
cp /mingw64/bin/libOpenImageIO*.dll . # If this is a mingw dependency, copy it into the deploy folder
cp /mingw64/bin/libwinpthread*.dll . if [[ $dep_path == /mingw64* ]]
cp /mingw64/bin/libcelt*.dll . then
cp /mingw64/bin/libgsm*.dll . cp $dep_path .
fi
done
# Package installer # Package installer
cd .. cd ..
cp app/packaging/windows/nsis/* . cp app/packaging/windows/nsis/* .
"/c/Program Files (x86)/NSIS/makensis.exe" /V4 /DX64 "/XOutFile $BUILDNAME.exe" olive.nsi "/c/Program Files (x86)/NSIS/makensis.exe" -V4 -DX64 "-XOutFile $BUILDNAME.exe" olive.nsi
# Package portable # Package portable
touch olive/portable touch olive/portable