UnityPy icon indicating copy to clipboard operation
UnityPy copied to clipboard

Fix save_fs flag confusion

Open astiob opened this issue 2 years ago • 0 comments

See commit messages: the argument naming is opposite from field naming, causing confusion and ruining save("original"). Also, save_fs always writes DirectoryInfo but doesn’t enforce the corresponding flag, making it easy to create bundles that Unity can’t load. This PR renames the arguments and adds a check that informs the user the flag is required.

astiob avatar Aug 10 '22 15:08 astiob