dsmoss/launcher.zsh

41 lines
913 B
Bash
Raw Normal View History

2024-10-30 15:15:38 -05:00
#!/bin/zsh
# Check if the script is run as root
if [[ $EUID -eq 0 ]]; then
echo "Run this script as a normal user, not as root."
exit 1
fi
echo "Choose an option:"
echo "1. Full (512GB+ storage models)"
echo "2. Lightweight (256GB Storage models)"
2024-11-24 12:31:05 -06:00
echo "3. CLI ONLY (For those storing their apps and home on external media)"
echo ""
echo ""
echo "MINI-REMINDER: SAM, SET YOUR HOME FOLDER TO YOUR 1TB DRIVE, THEN USE 3."
echo ""
printf "Enter your choice (1 to 3): "
2024-10-30 15:15:38 -05:00
read choice
case $choice in
1)
echo "[ST] FULL SELECTED"
chmod +x full.zsh
./full.zsh
;;
2)
echo "[ST] LIGHTWEIGHT SELECTED"
chmod +x lite.zsh
./lite.zsh
;;
2024-11-24 12:31:05 -06:00
3)
echo "[ST] CLI ONLY SELECTED"
chmod +x cli-only.zsh
./cli-only.zsh
;;
2024-10-30 15:15:38 -05:00
*)
echo "[ST] [ERR] Not a valid selection! Exiting..."
exit 1
;;
esac