From 2314f563a7c8c99d0bc6274c0ea19ad31e64cdfa Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Thu, 28 Nov 2019 17:31:46 +0100
Subject: [PATCH] updated

---
 MacOS/pihpsdr.sh | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

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
-- 
2.45.2