def main(): if len(sys.argv) != 2: print >>sys.stderr, "Usage: %s directory" % \ os.path.basename(sys.argv[0]) sys.exit(1) unpack(sys.argv[1])
def main(): if len(sys.argv) != 2: print >>sys.stderr, "Usage: %s directory" % \ os.path.basename(sys.argv[0]) sys.exit(1) buildconfig.substs['USE_ELF_HACK'] = False buildconfig.substs['PKG_SKIP_STRIP'] = True unpack(sys.argv[1])
def main(): parser = argparse.ArgumentParser(description="Unpack a Gecko-based application") parser.add_argument("directory", help="Location of the application") parser.add_argument("--omnijar", help="Name of the omnijar") options = parser.parse_args(sys.argv[1:]) buildconfig.substs["USE_ELF_HACK"] = False buildconfig.substs["PKG_STRIP"] = False unpack(options.directory, options.omnijar)
def main(): parser = argparse.ArgumentParser( description='Unpack a Gecko-based application') parser.add_argument('directory', help='Location of the application') parser.add_argument('--omnijar', help='Name of the omnijar') options = parser.parse_args(sys.argv[1:]) buildconfig.substs['USE_ELF_HACK'] = False buildconfig.substs['PKG_SKIP_STRIP'] = True unpack(options.directory, options.omnijar)