summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Framework/GameScanning
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Toolkit/Framework/GameScanning')
-rw-r--r--src/SMAPI.Toolkit/Framework/GameScanning/GameScanner.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/SMAPI.Toolkit/Framework/GameScanning/GameScanner.cs b/src/SMAPI.Toolkit/Framework/GameScanning/GameScanner.cs
index c90fc1d3..7553c07f 100644
--- a/src/SMAPI.Toolkit/Framework/GameScanning/GameScanner.cs
+++ b/src/SMAPI.Toolkit/Framework/GameScanning/GameScanner.cs
@@ -56,10 +56,7 @@ namespace StardewModdingAPI.Toolkit.Framework.GameScanning
{
return
dir.Exists
- && (
- dir.EnumerateFiles("StardewValley.exe").Any()
- || dir.EnumerateFiles("Stardew Valley.exe").Any()
- );
+ && dir.EnumerateFiles("Stardew Valley.dll").Any();
}