1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00

fix folder migration

This commit is contained in:
2024-07-01 15:13:46 +03:00
parent a4b4297af2
commit aa8086c417

View File

@@ -22,8 +22,7 @@ public final class FileUtils {
File configDirectory = SkinRestorer.getConfigDir().toFile();
File[] files = configDirectory.listFiles(
(file, name) -> file.isFile()
&& !name.startsWith(Translation.LEGACY_TRANSLATION_FILENAME)
(root, name) -> !name.startsWith(Translation.LEGACY_TRANSLATION_FILENAME)
&& !name.startsWith(Config.CONFIG_FILENAME)
&& name.endsWith(SkinIO.FILE_EXTENSION)
);