From: c vw Date: Thu, 28 Nov 2019 16:31:46 +0000 (+0100) Subject: updated X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=2314f563a7c8c99d0bc6274c0ea19ad31e64cdfa;p=pihpsdr.git updated --- diff --git a/MacOS/pihpsdr.sh b/MacOS/pihpsdr.sh index 53ee295..56b0095 100755 --- a/MacOS/pihpsdr.sh +++ b/MacOS/pihpsdr.sh @@ -8,9 +8,6 @@ # A full-fledged wrapper here would set dozens of # environment variables. # -# -# Use $HOME/.pihpsdr as the working dir, -# copy hpsdr.png to that location this=`dirname $0` @@ -19,12 +16,20 @@ this=`dirname $0` # cd $HOME +# +# This is a standard MacOS location +# localdir="$HOME/Library/Application Support/piHPSDR" -echo $localdir > $HOME/test.out - mkdir -p "$localdir" cd "$localdir" +# +# Copy HPSDR icon to local work directory +# cp $this/../Resources/hpsdr.png . + +# +# Finally, start the program +# exec $this/pihpsdr-bin