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)
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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)
Ejemplo n.º 4
0
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)