mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
Skip folders starting with . when building the client files
This commit is contained in:
parent
42a60a60b4
commit
f5c3bb48f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user