From c92efc65ce7cbfbca3e92e027141e6b8d90073c8 Mon Sep 17 00:00:00 2001 From: Nuz / Lovegood Date: Sun, 10 Apr 2022 18:20:11 -0700 Subject: Make ModScanner ignore .gitignore files. This is helpful for cases like this: https://cdn.discordapp.com/attachments/156109690059751424/962879339739885578/unknown.png --- src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs') diff --git a/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs b/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs index 2af30092..59652832 100644 --- a/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs +++ b/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs @@ -56,7 +56,10 @@ namespace StardewModdingAPI.Toolkit.Framework.ModScanning // Windows shortcut files ".url", - ".lnk" + ".lnk", + + // gitignore files + ".gitignore" }; /// The extensions for packed content files. -- cgit