packwiz icon indicating copy to clipboard operation
packwiz copied to clipboard

Option to unpack downloaded files

Open dhouck opened this issue 1 year ago • 1 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.

dhouck avatar Feb 06 '24 08:02 dhouck

Hmmm... I like the idea, but it might be tricky to implement - definitely something I'll consider for future versions of the pack format.

comp500 avatar Sep 24 '24 19:09 comp500