Added validate nag for junk files whose names end with a tilde
This commit is contained in:
parent
a44a48ae4e
commit
35e77241ed
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ Changelog
|
||||||
- Changed FTLDat to allow opening dats in read-only mode
|
- Changed FTLDat to allow opening dats in read-only mode
|
||||||
- Changed modman.exe to fail rather than use VirtualStore
|
- Changed modman.exe to fail rather than use VirtualStore
|
||||||
- Added modman_admin.exe, which always runs as administrator
|
- Added modman_admin.exe, which always runs as administrator
|
||||||
|
- Added a Validate warning for junk files whose names end with a tilde
|
||||||
|
|
||||||
1.4:
|
1.4:
|
||||||
- Cleaned up some dodgy code when initially prompting for FTL's location
|
- Cleaned up some dodgy code when initially prompting for FTL's location
|
||||||
|
|
|
@ -315,7 +315,7 @@ public class ModUtilities {
|
||||||
boolean modValid = true;
|
boolean modValid = true;
|
||||||
boolean seenAppend = false;
|
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)/" );
|
Pattern validRootDirPtn = Pattern.compile( "^(?:audio|data|fonts|img|mod-appendix)/" );
|
||||||
List<String> seenJunkDirs = new ArrayList<String>();
|
List<String> seenJunkDirs = new ArrayList<String>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue