diff --git a/risainstall.sh b/risainstall.sh index c6f6abf..97552c0 100644 --- a/risainstall.sh +++ b/risainstall.sh @@ -1,13 +1,24 @@ cd ~ -echo INSTALLING RISA... -echo Making Temp folder -mkdir inetTemp +echo "INSTALLING RISA..." +echo "Making Temp folder" +mkdir -p inetTemp cd inetTemp -echo Getting Latest Risa and the autostart script + +echo "Getting Latest Risa and the autostart script" wget https://git.inet-tech.net/iNet/risa/releases/download/latest/linux_arm64.zip wget https://git.inet-tech.net/iNet/Terra-Tweaks/raw/branch/main/extra/risaautoboot.desktop -echo Extracting + +echo "Extracting" unzip linux_arm64.zip -d risa -echo Moving -mv risa ~/apps/inet -mv risaautoboot.desktop ~/.config/autostart/ \ No newline at end of file + +echo "Creating target directories if needed" +mkdir -p ~/apps/inet +mkdir -p ~/.config/autostart/ + +echo "Moving files" +mv risa ~/apps/inet/ +mv risaautoboot.desktop ~/.config/autostart/ + +echo "Cleaning up temporary files" +cd ~ +rm -rf inetTemp \ No newline at end of file