Closed juriggs closed 4 years ago
The disassembler doesn't take a -path argument. Check the README for details of the command line arguments. The interfaces are different because the disassembler is lower level. In particular, it is possible to disassemble a single classfile, but you can't decompile an individual classfile.
If I use the command:
python decompile.py -skip -out temp -path C:\Users\me\Downloads\prattclasses Class1
everything works as expected
but if I use the command:
python disassemble.py -out temp -path C:\Users\me\Downloads\prattclasses Class1
I get the following error:
Traceback (most recent call last): File "disassemble.py", line 71, in
with zipfile.ZipFile(jar, 'r') as archive:
File "C:\Python27\lib\zipfile.py", line 779, in init
self.fp = open(file, modeDict[mode])
IOError: [Errno 13] Permission denied: 'C:\Users\jriggs\Downloads\prattclasses'