#!/usr/bin/env python3 #Do not copy or edit code read LICENSE First. #This Script is coded by Termux Professor (Youtuber) import os import time import sys #banner def clear(): os.system("clear") clear() print("\033[1;92m ╦ ╦┬┌┐┌ \033[1;91m╔╦╗┌─┐┬─┐┌┬┐┬ ┬─┐ ┬") print("\033[1;92m ║║║││││ \033[1;91m║ ├┤ ├┬┘││││ │┌┴┬┘") print("\033[1;92m ╚╩╝┴┘└┘ \033[1;91m╩ └─┘┴└─┴ ┴└─┘┴ └─") print("\033[1;92m [+] YouTube: \033[1;91mTermuxProfessor") print("\033[1;92m [+] Github: \033[1;91mtermuxprofessor\033[1;97m") print("") #isocheaker input_val = input("Does WIN10TP.iso File In Your Download Folder?(Yes/No) : ") if input_val in ['Yes', 'yes', 'y', 'Y']: clear() os.chdir(os.path.expanduser("~")) os.system("termux-wake-lock") os.system("pkg install x11-repo -y") os.system("pkg install qemu-system-x86-64 -y") clear() print("\033[1;92m1] Allow Storage Permission To Termux.") time.sleep(3) os.system("termux-setup-storage") clear() ram = input("Select RAM size in MB (Ex: 2048) : ") print("[+] Server Is Running....") print("\033[1;91mYour Server IP is: localhost:1\033[0m") os.system(f"qemu-system-x86_64 -m {ram} -cdrom storage/downloads/WIN10TP.iso -vnc localhost:1") elif input_val in ['No', 'no', 'n', 'N']: print("\033[1;91m1. First Download WIN10TP.iso file from this Link: \033[1;92mhttp://bit.ly/wintermux") #pastedownload link here print("2. Put WIN10TP.iso file into download folder.") sys.exit(2) else: print("\033[1;91mInvalid Option") sys.exit(1)