summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-24 00:31:15 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-24 00:31:15 -0400
commitbb9cde8f2e4737627668b75d55660816d7386f06 (patch)
tree6f2629abc1e12d2686e759269180c1564c08166d /src/SMAPI.Toolkit/Framework
parentd97b11060c310f1fa6064f02496e6a6162a44573 (diff)
downloadSMAPI-bb9cde8f2e4737627668b75d55660816d7386f06.tar.gz
SMAPI-bb9cde8f2e4737627668b75d55660816d7386f06.tar.bz2
SMAPI-bb9cde8f2e4737627668b75d55660816d7386f06.zip
ignore MacOS files starting with ._
Diffstat (limited to 'src/SMAPI.Toolkit/Framework')
-rw-r--r--src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs b/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs
index f11cc1a7..f4857c7d 100644
--- a/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs
+++ b/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs
@@ -22,7 +22,7 @@ namespace StardewModdingAPI.Toolkit.Framework.ModScanning
{
// OS metadata files
new Regex(@"^__folder_managed_by_vortex$", RegexOptions.Compiled | RegexOptions.IgnoreCase), // Vortex mod manager
- new Regex(@"^(?:__MACOSX|\._\.DS_Store|\.DS_Store|mcs)$", RegexOptions.Compiled | RegexOptions.IgnoreCase), // MacOS
+ new Regex(@"(?:^\._|^\.DS_Store$|^__MACOSX$|^mcs$)", RegexOptions.Compiled | RegexOptions.IgnoreCase), // MacOS
new Regex(@"^(?:desktop\.ini|Thumbs\.db)$", RegexOptions.Compiled | RegexOptions.IgnoreCase), // Windows
new Regex(@"\.(?:url|lnk)$", RegexOptions.Compiled | RegexOptions.IgnoreCase), // Windows shortcut files