def question(): defs.showMessage( title="CMA Key", message= "Your AID is the name of the random numbers and letters folder your CMA backups are stored in." ) sys.stdout.flush()
def auto(): defs.autoAccount() import account account.close_window(root) defs.showMessage(title="Account Reigstered.", message="Account Registered") import accMgr accMgr.vp_start_gui() sys.stdout.flush()
def addaccount(aid, acc): if aid == "" and acc != "" and acc.find(',') == -1: defs.showMessage(title="Error 001", message="Please enter your AID.") if acc == "" and aid != "" and aid.find(',') == -1: defs.showMessage(title="Error 002", message="Please enter Your Account Name") if acc == "" and aid == "": defs.showMessage(title="Error 003", message="Please enter Your Account Name And your AID.") if len(aid) == 16: if acc != "" and aid != "" and acc.find(',') == -1: text_file = open("accounts/" +acc, "w+") text_file.write(aid) text_file.close() import urllib urllib.urlretrieve("http://cma.henkaku.xyz/?aid=" + aid, "tempKey.html") text_file = open("keys/"+acc,"w+") text_file.write(defs.getKey()) text_file.close() import account account.close_window(root) defs.showMessage(title="Thank You!", message="Account: " + acc + " [" + aid + "] Was Registered.") import accMgr accMgr.vp_start_gui() sys.stdout.flush()
if is_64bits == 0: print("Running in 32-Bit mode.") else: print("Test OK!") print("Running OS Check") if sys.platform.__contains__("linux"): print "Test OK!, sys.platform: " + sys.platform print("Starting GUI") main.vp_start_gui() elif sys.platform.__contains__( "win") and not sys.platform.__contains__("darwin"): print "Test OK!, sys.platform: " + sys.platform print "Registering .cmbackup as a known filetype.." print "Executing: assoc .cmbackup=CmbackupFile" os.system("assoc .cmbackup=CmbackupFile") print 'Executing: ftype CmbackupFile="' + defs.getWorkingDir( ) + '\\run.exe"' os.system('ftype CmbackupFile="' + defs.getWorkingDir() + '\\run.exe"') print("Starting GUI") main.vp_start_gui() elif sys.platform.__contains__("darwin"): print "Test OK!, sys.platform: " + sys.platform print "MacOS Is currently in BETA! Please report any bugs you may find." print("Starting GUI") main.vp_start_gui() else: defs.showMessage(title="Error 009", message="Your OS Is Not Supported!") quit() sys.exit()