File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,6 +252,8 @@ def main():
252252 action = 'store_true' ,
253253 dest = 'debug' ,
254254 help = 'print debug log (default: %(default)s)' )
255+ parser .add_argument ('-n' , '--no-runtime' , action = 'store_true' ,
256+ help = 'Ignore runtime files' )
255257 parser .add_argument ('path' , nargs = '+' ,
256258 help = "Path or obfuscated script" )
257259
@@ -280,9 +282,10 @@ def main():
280282 os .path .join (output , name ))
281283 logging .info ('Merging obfuscated scripts OK' )
282284
283- logging .info ('Merging runtime files...' )
284- merge_runtimes (args .path , output )
285- logging .info ('Merging runtime files OK' )
285+ if not args .no_runtime :
286+ logging .info ('Merging runtime files...' )
287+ merge_runtimes (args .path , output )
288+ logging .info ('Merging runtime files OK' )
286289
287290 logger .info ('Merge all the scripts to %s successfully' , output )
288291
You can’t perform that action at this time.
0 commit comments