1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(windows): create a zip with qTox to be used in release publishing

This commit is contained in:
Maxim Biro 2018-04-04 01:19:49 +00:00
parent 6b58102154
commit 0bb35e28e8

View File

@ -128,7 +128,9 @@ apt-get install -y --no-install-recommends \
tclsh \
unzip \
wget \
yasm
yasm \
zip
if [[ "$ARCH" == "i686" ]]
then
apt-get install -y --no-install-recommends \
@ -1209,6 +1211,11 @@ $ARCH-w64-mingw32-strip -s $QTOX_PREFIX_DIR/*.dll
$ARCH-w64-mingw32-strip -s $QTOX_PREFIX_DIR/*/*.dll
set -e
# Create zip
cd $QTOX_PREFIX_DIR
zip qtox-"$ARCH".zip -r *
cd -
# Create installer
if [[ "$BUILD_TYPE" == "release" ]]
then
@ -1217,6 +1224,7 @@ then
# The installer creation script expects all the files to be in qtox/*
mkdir qtox
cp -r $QTOX_PREFIX_DIR/* ./qtox
rm ./qtox/*.zip
# Select the installer script for the correct architecture
if [[ "$ARCH" == "i686" ]]