-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
31 lines (29 loc) · 1.03 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# ISO Checker
read -p "Does WIN11 ARM ISO file exist in your Download folder? (Yes/No) : " input
case "$input" in
[Yy]* )
clear
cd $HOME
termux-wake-lock
pkg install x11-repo -y
pkg install qemu-system-aarch64 -y
clear
echo -e "\e[1;92m1] Allow Storage Permission To Termux."
sleep 3
clear
read -p "Select Size Of RAM In MB (e.g., 1GB = 1024) : " ram
echo "[+] Server Is Running...."
echo -e "Your Server IP is:\e[1;91m 127.0.0.1:2"
qemu-system-aarch64 -m $ram -machine virt -cdrom $HOME/storage/downloads/WIN11_ARM.iso -vnc 127.0.0.1:2
;;
[Nn]* )
echo -e "\e[1;91m1. First Download WIN11 ARM ISO file from this Link: \e[1;92mhttps://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64"
echo "2. Place WIN11 ARM ISO file into the Downloads folder, with the name WIN11_ARM.iso"
exit 2
;;
* )
echo -e "\e[1;91mInvalid Option"
exit 1
;;
esac