From 8fd8005f44cd02257f1e97e05ab7a2ee8ec9e3c1 Mon Sep 17 00:00:00 2001 From: Oleksii Vilchanskyi Date: Sat, 22 Jul 2017 03:02:17 +0200 Subject: [PATCH] macOS: fix the app not showing up after quickinstall --- quickinstall | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/quickinstall b/quickinstall index 74d993c8..f0030f11 100755 --- a/quickinstall +++ b/quickinstall @@ -260,8 +260,11 @@ sleep 1 echo "" read -rp "Start ckb now [Y/n]? " dolaunch [[ $dolaunch =~ no? ]] && exit 0 -APP="$PREFIX"/bin/ckb -[[ "$OSTYPE" == "darwin"* ]] && APP="$APP".app/Contents/MacOS/ckb +if [[ "$OSTYPE" == "darwin"* ]]; then + APP="$PREFIX"/ckb.app/Contents/MacOS/ckb +else + APP="$PREFIX"/bin/ckb +fi # Ask ckb to close if there's an instance already running "$APP" --close >/dev/null 2>&1 sleep 1