From 825c9e4a8291f630c1ca00532b8bc2c75381a14f Mon Sep 17 00:00:00 2001 From: Julien Lazarewicz Date: Wed, 26 Jun 2024 12:52:04 +0200 Subject: [PATCH] Update install.sh Working install script --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 70abc49..6fdebb0 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,8 @@ #!/bin/sh INSTALL_DIR="fup_anamometer" +xcode-select --install + mkdir $HOME/$INSTALL_DIR cp fup-anemometer-user.py $HOME/$INSTALL_DIR/fup-anemometer.py chmod +x $HOME/$INSTALL_DIR/fup-anemometer.py @@ -12,8 +14,12 @@ then fi sed -i -e "s%XXXX%$HOME%g" com.fup_anemometer.plist cp com.fup_anemometer.plist $HOME/Library/LaunchAgents/com.fup_anemometer.plist +rm com.fup_anemometer.plist +cp com.fup_anemometer.plist-e com.fup_anemometer.plist python3 -m venv $HOME/$INSTALL_DIR # copy python file to venv cd $HOME/$INSTALL_DIR source $HOME/$INSTALL_DIR/bin/activate -pip install python-osc \ No newline at end of file +pip install python-osc +cd $HOME +echo "TO FINISH THE INSTALLATION PLEASE LOGOFF AND LOGON" \ No newline at end of file