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:
parent
6b58102154
commit
0bb35e28e8
|
@ -128,7 +128,9 @@ apt-get install -y --no-install-recommends \
|
||||||
tclsh \
|
tclsh \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
yasm
|
yasm \
|
||||||
|
zip
|
||||||
|
|
||||||
if [[ "$ARCH" == "i686" ]]
|
if [[ "$ARCH" == "i686" ]]
|
||||||
then
|
then
|
||||||
apt-get install -y --no-install-recommends \
|
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
|
$ARCH-w64-mingw32-strip -s $QTOX_PREFIX_DIR/*/*.dll
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Create zip
|
||||||
|
cd $QTOX_PREFIX_DIR
|
||||||
|
zip qtox-"$ARCH".zip -r *
|
||||||
|
cd -
|
||||||
|
|
||||||
# Create installer
|
# Create installer
|
||||||
if [[ "$BUILD_TYPE" == "release" ]]
|
if [[ "$BUILD_TYPE" == "release" ]]
|
||||||
then
|
then
|
||||||
|
@ -1217,6 +1224,7 @@ then
|
||||||
# The installer creation script expects all the files to be in qtox/*
|
# The installer creation script expects all the files to be in qtox/*
|
||||||
mkdir qtox
|
mkdir qtox
|
||||||
cp -r $QTOX_PREFIX_DIR/* ./qtox
|
cp -r $QTOX_PREFIX_DIR/* ./qtox
|
||||||
|
rm ./qtox/*.zip
|
||||||
|
|
||||||
# Select the installer script for the correct architecture
|
# Select the installer script for the correct architecture
|
||||||
if [[ "$ARCH" == "i686" ]]
|
if [[ "$ARCH" == "i686" ]]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user