Ignore cache files entirely, also apply to modpack export

Signed-off-by: LostLuma <lilly@lostluma.net>
This commit is contained in:
LostLuma
2023-07-27 01:42:14 +02:00
parent a9fefb2eeb
commit 4a9ea832ff
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ ExportPackDialog::ExportPackDialog(InstancePtr instance, QWidget* parent, ModPla
// use the game root - everything outside cannot be exported
const QDir root(instance->gameRoot());
proxy = new FileIgnoreProxy(instance->gameRoot(), this);
proxy->ignoreFilesWithPath().insert({ "logs", "crash-reports" });
proxy->ignoreFilesWithPath().insert({ "logs", "crash-reports", ".cache", ".fabric", ".quilt" });
proxy->ignoreFilesWithName().append({ ".DS_Store", "thumbs.db", "Thumbs.db" });
proxy->setSourceModel(model);