diff options
author | Nuz / Lovegood <nuztalgia@gmail.com> | 2022-04-10 18:20:11 -0700 |
---|---|---|
committer | Nuz / Lovegood <nuztalgia@gmail.com> | 2022-04-10 18:20:11 -0700 |
commit | c92efc65ce7cbfbca3e92e027141e6b8d90073c8 (patch) | |
tree | 4342f34293a89955b78862675d617bbefbb07bd9 /src/SMAPI.Toolkit/Framework/ModScanning | |
parent | 0336fb252420194d518d6c21c3d1a8f372565c2f (diff) | |
download | SMAPI-c92efc65ce7cbfbca3e92e027141e6b8d90073c8.tar.gz SMAPI-c92efc65ce7cbfbca3e92e027141e6b8d90073c8.tar.bz2 SMAPI-c92efc65ce7cbfbca3e92e027141e6b8d90073c8.zip |
Make ModScanner ignore .gitignore files.
This is helpful for cases like this: https://cdn.discordapp.com/attachments/156109690059751424/962879339739885578/unknown.png
Diffstat (limited to 'src/SMAPI.Toolkit/Framework/ModScanning')
-rw-r--r-- | src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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" }; /// <summary>The extensions for packed content files.</summary> |