def init(): try: setup_ios.main() try_run(setup_ios.dest, setup_ios.uuid) except Exception as e: print("Get wrong options: %s, exit ..." % e) sys.exit(1)
def init(): try: setup_ios.main() try: shutil.rmtree(CONST_PATH + "/mobileSpec-crosswalk") except: os.system("rm -rf " + CONST_PATH + "/mobileSpec-crosswalk &>/dev/null") run(setup_ios.dest) except Exception as e: print("Get wrong options: %s, exit ..." % e) sys.exit(1)
def init(): try: setup_ios.main() try: shutil.rmtree(ConstPath + "/mobileSpec-crosswalk") except: os.system("rm -rf " + ConstPath + "/mobileSpec-crosswalk &>/dev/null") #print traceback.print_exc() run(setup_ios.dest) except Exception,e: print("Get wrong options: %s, exit ..." % e) sys.exit(1)
def init(): try: setup_ios.main() try: shutil.rmtree(CONST_PATH + "/mobileSpec-crosswalk") except: os.system( "rm -rf " + CONST_PATH + "/mobileSpec-crosswalk &>/dev/null") run(setup_ios.dest) except Exception as e: print("Get wrong options: %s, exit ..." % e) sys.exit(1)