From 07c0af7bcb079c3aad465f41c7bf03960987d5b8 Mon Sep 17 00:00:00 2001 From: comp500 Date: Mon, 14 Feb 2022 20:09:55 +0000 Subject: [PATCH] Add packwiz binaries to default ignores (fixes #37) --- core/index.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/index.go b/core/index.go index adb194b..5777271 100644 --- a/core/index.go +++ b/core/index.go @@ -182,6 +182,10 @@ var ignoreDefaults = []string{ // Exclude exported Modrinth packs "*.mrpack", + + // Exclude packwiz binaries, if the user puts them in their pack folder + "packwiz.exe", + "packwiz", // Note: also excludes packwiz/ as a directory - you can negate this pattern if you want a directory called packwiz } func readGitignore(path string) (*gitignore.GitIgnore, bool) {