We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f3ddc7 commit e5d428aCopy full SHA for e5d428a
bin/unityextract
@@ -31,6 +31,7 @@ class UnityExtract:
31
p.add_argument("--shaders", action="store_true")
32
p.add_argument("--text", action="store_true")
33
p.add_argument("--video", action="store_true")
34
+ p.add_argument("--outdir", nargs="?", default="")
35
self.args = p.parse_args(args)
36
37
self.handle_formats = []
@@ -55,7 +56,7 @@ class UnityExtract:
55
56
return 0
57
58
def get_output_path(self, filename):
- basedir = "out"
59
+ basedir = self.args.outdir
60
path = os.path.join(basedir, filename)
61
dirs = os.path.dirname(path)
62
if not os.path.exists(dirs):
0 commit comments