achadwick / styrene

A repacking tool that creates usable app bundles for regular Windows users out of MSYS2 binary packages.
GNU General Public License v3.0
40 stars 11 forks source link

Make "nodelete" matches recursively mask off "delete" matches. #7

Closed achadwick closed 7 years ago

achadwick commented 7 years ago

Currently, if a parent directory is matched by a delete pattern, then all of its child dirs and files are deleted even if they would be matched by a nodelete pattern. This should change: nodelete should basically win, always, and the parent folders of any nodelete match should always be retained.

This would allow bundles to delete all but their needed subtrees, resulting in a smaller size and simpler config files.