示例#1
0
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])
示例#2
0
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])
示例#3
0
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])
示例#4
0
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)
示例#5
0
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)