mirror of
https://github.com/mon/ifstools.git
synced 2024-11-24 01:50:10 +01:00
Fix repacking with exe
This commit is contained in:
parent
9996fe4532
commit
e8bf6c13ee
@ -1,5 +1,6 @@
|
||||
import argparse
|
||||
import os
|
||||
import multiprocessing # for pyinstaller fixes
|
||||
try:
|
||||
# py 2
|
||||
input = raw_input
|
||||
@ -34,6 +35,7 @@ def repack(i, args, path):
|
||||
i.repack(progress = args.progress, use_cache = args.use_cache, path = path)
|
||||
|
||||
def main():
|
||||
multiprocessing.freeze_support() # pyinstaller
|
||||
parser = argparse.ArgumentParser(description='Unpack/pack IFS files and textures')
|
||||
parser.add_argument('files', metavar='file_to_unpack.ifs|folder_to_repack_ifs', type=str, nargs='+',
|
||||
help='files/folders to process. Files will be unpacked, folders will be repacked')
|
||||
|
Loading…
Reference in New Issue
Block a user