|
| 1 | +#!/bin/bash |
| 2 | +display_logo() |
| 3 | +{ |
| 4 | +echo "+===================================================+"; |
| 5 | +echo "| _ _ ____ _ _ |"; |
| 6 | +echo "| | | (_)_ __ _ ___ _| _ \ _ __ ___ (_) __| ||"; |
| 7 | +echo "| | | | | _ \| | | \ \/ / | | | __/ _ \| |/ _ ||"; |
| 8 | +echo "| | |___| | | | | |_| |> <| |_| | | | (_) | | (_| ||"; |
| 9 | +echo "| |_____|_|_| |_|\__,_/_/\_\____/|_| \___/|_|\__,_||"; |
| 10 | +echo "| By Vivek W |"; |
| 11 | +echo "| |"; |
| 12 | +echo "| GitHub:- github.com/AryanVBW |"; |
| 13 | +echo "| Site:- AryanVBW.github.io |"; |
| 14 | +echo "| Instagram:- Aryan_Technolog1es |"; |
| 15 | +echo "+===================================================+"; |
| 16 | +} |
| 17 | +while true; do |
| 18 | + clear |
| 19 | + display_logo # Display the logo initially |
| 20 | + |
| 21 | + echo "Select operating system you want to install:" |
| 22 | + echo "1. Kali" |
| 23 | + echo "2. Ubuntu" |
| 24 | + echo "3. Arch" |
| 25 | + echo "4. Debian" |
| 26 | + echo "5. Manjaro" |
| 27 | + echo "6. Void" |
| 28 | + echo "7. Alpine" |
| 29 | + echo "8. Fedora" |
| 30 | + echo "9. Nethunter Root less (Android specialize linux)" |
| 31 | + echo "10. Exit" |
| 32 | + |
| 33 | + read -p "Enter your choice (1-10): " os_choice |
| 34 | + |
| 35 | + case $os_choice in |
| 36 | + 1|2|3|4|5|6|7|8|9) |
| 37 | + clear |
| 38 | + echo "You selected: " |
| 39 | + case $os_choice in |
| 40 | + 1) os_name="Kali";; |
| 41 | + 2) os_name="Ubuntu";; |
| 42 | + 3) os_name="Arch";; |
| 43 | + 4) os_name="Debian";; |
| 44 | + 5) os_name="Manjaro";; |
| 45 | + 6) os_name="Void";; |
| 46 | + 7) os_name="Alpine";; |
| 47 | + 8) os_name="Fedora";; |
| 48 | + 9) os_name="Nethunter Root less (Android specialize linux)";; |
| 49 | + esac |
| 50 | + display_logo # Display the logo initially |
| 51 | + echo "1. GUI version" |
| 52 | + echo "2. CLI version" |
| 53 | + read -p "Enter version choice (1-2): " version_choice |
| 54 | + |
| 55 | + # Hide the logo after GUI/CLI selection |
| 56 | + clear |
| 57 | + |
| 58 | + case $version_choice in |
| 59 | + 1) |
| 60 | + echo "Installing GUI version of $os_name..." |
| 61 | + case $os_choice in |
| 62 | + 1) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Kali/kali-xfce.sh -O kali-xfce.sh && chmod +x kali-xfce.sh && bash kali-xfce.sh";; |
| 63 | + 2) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu22/ubuntu22-xfce.sh -O ubuntu22-xfce.sh && chmod +x ubuntu22-xfce.sh && bash ubuntu22-xfce.sh";; |
| 64 | + 3) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Arch/armhf/arch-xfce.sh -O arch-xfce.sh && chmod +x arch-xfce.sh && bash arch-xfce.sh";; |
| 65 | + 4) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Debian/debian-xfce.sh -O debian-xfce.sh && chmod +x debian-xfce.sh && bash debian-xfce.sh";; |
| 66 | + 5) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Manjaro/manjaro-xfce.sh -O manjaro-xfce.sh && chmod +x manjaro-xfce.sh && bash manjaro-xfce.sh";; |
| 67 | + 6) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Void/void-xfce.sh && chmod +x void-xfce.sh && bash void-xfce.sh";; |
| 68 | + 7) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Alpine/alpinexfce.sh -O alpinexfce.sh && chmod +x alpinexfce.sh && bash alpinexfce.sh";; |
| 69 | + 8) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Fedora/fedora-xfce.sh -O fedora-xfce.sh && chmod +x fedora-xfce.sh && bash fedora-xfce.sh";; |
| 70 | + 9) cmd="termux-setup-storage && pkg install wget && wget -O install-nethunter-termux https://offs.ec/2MceZWr && chmod +x install-nethunter-termux && ./install-nethunter-termux";; |
| 71 | + esac |
| 72 | + ;; |
| 73 | + 2) |
| 74 | + echo "Installing CLI version of $os_name..." |
| 75 | + case $os_choice in |
| 76 | + 1) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Kali/kali.sh -O kali.sh && chmod +x kali.sh && bash kali.sh";; |
| 77 | + 2) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu22/ubuntu22.sh -O ubuntu22.sh && chmod +x ubuntu22.sh && bash ubuntu22.sh";; |
| 78 | + 3) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Arch/armhf/arch.sh -O arch.sh && chmod +x arch.sh && bash arch.sh";; |
| 79 | + 4) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Debian/debian.sh -O debian.sh && chmod +x debian.sh && bash debian.sh";; |
| 80 | + 5) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Manjaro/manjaro.sh -O manjaro.sh && chmod +x manjaro.sh && bash manjaro.sh";; |
| 81 | + 6) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Void/void.sh && chmod +x void.sh && bash void.sh";; |
| 82 | + 7) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Alpine/alpine.sh -O alpine.sh && chmod +x alpine.sh && bash alpine.sh";; |
| 83 | + 8) cmd="pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Fedora/fedora.sh -O fedora.sh && chmod +x fedora.sh && bash fedora.sh";; |
| 84 | + 9) cmd="sudo apt update -y && sudo apt upgrade -y";; |
| 85 | + esac |
| 86 | + ;; |
| 87 | + *) |
| 88 | + echo "Invalid choice. Please enter 1 or 2." |
| 89 | + continue |
| 90 | + ;; |
| 91 | + esac |
| 92 | + |
| 93 | + # Execute the selected command |
| 94 | + eval "$cmd" |
| 95 | + read -p "Press Enter to continue..." |
| 96 | + ;; |
| 97 | + 10) |
| 98 | + echo "Exiting..." |
| 99 | + exit 0 |
| 100 | + ;; |
| 101 | + *) |
| 102 | + echo "Invalid choice. Please enter a number between 1 and 10." |
| 103 | + ;; |
| 104 | + esac |
| 105 | +done |
0 commit comments