Added validate nag for junk files whose names end with a tilde

This commit is contained in:
Vhati 2013-12-04 13:46:07 -05:00
parent a44a48ae4e
commit 35e77241ed
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ Changelog
- Changed FTLDat to allow opening dats in read-only mode
- Changed modman.exe to fail rather than use VirtualStore
- Added modman_admin.exe, which always runs as administrator
- Added a Validate warning for junk files whose names end with a tilde
1.4:
- Cleaned up some dodgy code when initially prompting for FTL's location

View file

@ -315,7 +315,7 @@ public class ModUtilities {
boolean modValid = true;
boolean seenAppend = false;
Pattern junkFilePtn = Pattern.compile( "[.]DS_Store$|^thumbs[.]db$" );
Pattern junkFilePtn = Pattern.compile( "[.]DS_Store$|^thumbs[.]db$|~$" );
Pattern validRootDirPtn = Pattern.compile( "^(?:audio|data|fonts|img|mod-appendix)/" );
List<String> seenJunkDirs = new ArrayList<String>();