hube12 / DecompilerMC

This repository allows you to decompile any minecraft version that was published after 19w36a without any 3rd party mappings, you just need to execute the script or the executable (see releases)! Thanks mojang to have published proguard mappings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python requirement should be python>=3.7

INFCode opened this issue · comments

As the argument 'capture_output' of subprocess.run is added after python 3.7, when running this script on my python 3.6.4, it will throw an error as follows:

Traceback (most recent call last):
  File ".\main.py", line 650, in <module>
    main()
  File ".\main.py", line 580, in main
    remap(version, side, args.quiet)
  File ".\main.py", line 256, in remap
    ], check=True, capture_output=quiet)
  File "subprocess.py", line 403, in run
TypeError: __init__() got an unexpected keyword argument 'capture_output'

Therefore this script should only work with python 3.7+, instead of the version of 3.5+ which is said in README.

commented

Yeah, my bad, actually forgot to add that after the last issue on mac