1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Skip folders starting with . when building the client files

This commit is contained in:
Albert Pham 2014-02-22 18:18:20 -08:00
parent 42a60a60b4
commit f5c3bb48f6

View File

@ -71,7 +71,9 @@ public class ClientFileCollector extends DirectoryWalker {
}
public static DirectoryBehavior getDirectoryBehavior(@NonNull String name) {
if (name.equals("_OPTIONAL")) {
if (name.startsWith(".")) {
return DirectoryBehavior.SKIP;
} else if (name.equals("_OPTIONAL")) {
return DirectoryBehavior.IGNORE;
} else if (name.equals("_SERVER")) {
return DirectoryBehavior.SKIP;