Added .zip file generation to windows deployement.

This commit is contained in:
klayoutmatthias 2017-08-06 23:10:38 +02:00
parent 592fe08921
commit ea5b9a8ba6
1 changed files with 17 additions and 0 deletions

View File

@ -184,3 +184,20 @@ cp $scripts/klayout-inst.nsis $target
cd $target
NSIS_VERSION=$KLAYOUT_VERSION NSIS_ARCH=$arch "$makensis" klayout-inst.nsis
# ----------------------------------------------------------
# Produce the .zip file
zipname="klayout-$KLAYOUT_VERSION-$arch"
echo "Making .zip file $zipname.zip .."
rm -rf $zipname $zipname.zip
mkdir $zipname
cp -Rv *.dll .*-paths.txt imageformats lib $zipname | sed -u 's/.*/echo -n ./' | sh
cp klayout.exe $zipname/klayout_app.exe
cp klayout.exe $zipname/klayout_vo_app.exe
echo ""
zip -r $zipname.zip $zipname
rm -rf $zipname