Add packwiz binaries to default ignores (fixes #37)

This commit is contained in:
comp500 2022-02-14 20:09:55 +00:00
parent f58e16ff81
commit 07c0af7bcb

View File

@ -182,6 +182,10 @@ var ignoreDefaults = []string{
// Exclude exported Modrinth packs // Exclude exported Modrinth packs
"*.mrpack", "*.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) { func readGitignore(path string) (*gitignore.GitIgnore, bool) {