Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thought this would be a simple UI addition, but it turns out not so:
Prior to this proposed change, the only way for the user to cleanup changes/removals/renames to "other" (e.g.
r6/scripts/myscript.reds
=>r6/scripts/thecorrectnameformyscript.reds
) already-packed files underresources
is to manually delete them from thepacked
directory themselves.I also added
LaunchProfile
entry and missing code path toCleanup()
to completely clean as an option. This allows it to clean misc items added or removed in resources dir, such as scripts.Implemented and Added:
The
Clean All
buttonAdded
LaunchProfile
options to do so.Added optional code path to
Cleanup()
to handle the rest of theresources/
dir not covered by it. Options are done thruLaunchProfile
s. The user now can clickClean All
or integrate it in their profile.Testing:
Clean All
does it's purpose, without any UI desync or oddness observed using the current removal method.LaunchProfile
option uncheckedLaunchProfile
option checkedpacked/
directory.