deploy all new dlls with windows build
This commit is contained in:
+14
-12
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user