Option to unpack downloaded files
dhouck opened this issue · comments
Some downloadable files come as zips you are meant to unpack (I donʼt just mean datapacks or resourcepacks which can be used while still zipped). For example, with Vanilla Tweaks data packs, you can download more than one at once, and you get a zip file containing each data pack as its own zip file, so you unpack the outer data pack into your data packs folder. Another data pack Iʼm looking at has a required resource pack and the download bundles both together.
It would be nice to have options in the *.pw.toml
files to unpack these, so packwiz can download a zip file, verify its checksum, and then unpack the contents. Since sometimes you donʼt want all the files to go in the same place, though, that could be somewhat complicated.