Browse Source

Merge pull request #2962 from RowenStipe:patch_OSX-Script

Condensed a little bit and fixed function name
pull/2967/head
Zetok Zalbavar 10 years ago
parent
commit
ef5b9b8c1e
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 10
      osx/qTox-Mac-Deployer-ULTIMATE.sh

10
osx/qTox-Mac-Deployer-ULTIMATE.sh

@ -24,20 +24,16 @@ @@ -24,20 +24,16 @@
# Your home DIR really (Most of this happens in it) {DONT USE: ~ }
if [[ $TRAVIS = true ]]; then #travis check
MAIN_DIR="${TRAVIS_BUILD_DIR}"
QTOX_DIR="${MAIN_DIR}"
else
MAIN_DIR="/Users/${USER}"
QTOX_DIR="${MAIN_DIR}/qTox"
fi
QT_DIR="/usr/local/Cellar/qt5" # Folder name of QT install
VER="${QT_DIR}/5.5.1_2" # Potential future proffing for version testing
QMAKE="${VER}/bin/qmake" # Don't change
MACDEPLOYQT="${VER}/bin/macdeployqt" # Don't change
if [[ $TRAVIS = true ]]; then #travis check
QTOX_DIR="${MAIN_DIR}"
else
QTOX_DIR="${MAIN_DIR}/qTox" # Change to Git location
fi
TOXCORE_DIR="${MAIN_DIR}/toxcore" # Change to Git location
FA_DIR="${MAIN_DIR}/filter_audio"
@ -178,7 +174,7 @@ function update() { @@ -178,7 +174,7 @@ function update() {
git pull
read -r -p "Did Toxcore update from git? [y/N] " response
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then
build-toxcore
build_toxcore
else
fcho "Moving on!"
fi

Loading…
Cancel
Save