From 44c80b473258786f7eb30b5fe66d468013a2a030 Mon Sep 17 00:00:00 2001 From: Denio Date: Tue, 3 Dec 2019 22:29:56 +0100 Subject: [PATCH] bump version --- linux-static-build.sh | 39 --------------------------------------- src/version.h | 2 +- win-static-build.sh | 34 ---------------------------------- 3 files changed, 1 insertion(+), 74 deletions(-) delete mode 100755 linux-static-build.sh delete mode 100755 win-static-build.sh diff --git a/linux-static-build.sh b/linux-static-build.sh deleted file mode 100755 index 513a98e..0000000 --- a/linux-static-build.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -# Copyright 2019 The Hush Developers - -UNAME=$(uname) - -if [ "$UNAME" == "Linux" ] ; then - JOBS=$(nproc) -elif [ "$UNAME" == "FreeBSD" ] ; then - JOBS=$(nproc) -elif [ "$UNAME" == "Darwin" ] ; then - JOBS=$(sysctl -n hw.ncpu) -else - JOBS=1 -fi - - -VERSION=$(cat src/version.h |cut -d\" -f2) -echo "Compiling SilentDragonLite $VERSION with $JOBS threads..." -CONF=silentdragon-lite.pro - -set -e -qbuild () { - /home/$USER/Qt/5.11.2/static/bin/qmake $CONF CONFIG+=debug - #lupdate $CONF - #lrelease $CONF - make -j$JOBS -} - -if [ "$1" == "clean" ]; then - make clean -elif [ "$1" == "linguist" ]; then - lupdate $CONF - lrelease $CONF -elif [ "$1" == "cleanbuild" ]; then - make clean - qbuild -else - qbuild -fi diff --git a/src/version.h b/src/version.h index ef25736..dd697aa 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "1.1.2" +#define APP_VERSION "1.1.3" diff --git a/win-static-build.sh b/win-static-build.sh deleted file mode 100755 index 646c713..0000000 --- a/win-static-build.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# Copyright 2019 The Hush Developers - - - -VERSION=$(cat src/version.h |cut -d\" -f2) -echo "Compiling SilentDragonLite $VERSION .exe with $JOBS threads..." -CONF=silentdragon-lite.pro - -set -e -echo 'source $HOME/.cargo/env' >> $HOME/.bashrc -CC_x86_64_pc_windows_gnu="x86_64-w64-mingw32.static-gcc" -PATH="/home/$USER/github/mxe/usr/bin:${PATH}" -mkdir release -cp src/precompiled.h release/ -qbuild () { - /home/$USER/github/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 $CONF CONFIG+=release - - #lupdate $CONF - #lrelease $CONF - make -j$JOBS -} - -if [ "$1" == "clean" ]; then - make clean -elif [ "$1" == "linguist" ]; then - lupdate $CONF - lrelease $CONF -elif [ "$1" == "cleanbuild" ]; then - make clean - qbuild -else - qbuild -fi