summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 22:37:05 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 22:37:05 -0400
commit0d8009b231723ae337e3a22f7455cb5ce6a8e72e (patch)
tree5ad6d253069ac0e60e17df902bb751a57a3ddbfb
parent3fa71385e57ba45cde17bf70ad7f027a9734665f (diff)
downloadSMAPI-0d8009b231723ae337e3a22f7455cb5ce6a8e72e.tar.gz
SMAPI-0d8009b231723ae337e3a22f7455cb5ce6a8e72e.tar.bz2
SMAPI-0d8009b231723ae337e3a22f7455cb5ce6a8e72e.zip
fix installer finding redundant game paths on Linux
-rw-r--r--release-notes.md1
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs1
2 files changed, 1 insertions, 1 deletions
diff --git a/release-notes.md b/release-notes.md
index 02a6da4c..08824630 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -16,6 +16,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.12...1.13).
For players:
* SMAPI now has better draw error recovery and detects when the error is irrecoverable.
* SMAPI now remembers if your game crashed and offers help next time you relaunch.
+* Fixed installer finding redundant game paths on Linux.
For mod developers:
* Added log entries for basic context changes (e.g. loaded save) to simplify troubleshooting. More detailed logging can be enabled by setting `VerboseLogging: true` in `StardewModdingAPI.config.json`.
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
index 86e3d38a..52294c2e 100644
--- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
+++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
@@ -30,7 +30,6 @@ namespace StardewModdingApi.Installer
// Linux
yield return $"{Environment.GetEnvironmentVariable("HOME")}/GOG Games/Stardew Valley/game";
yield return $"{Environment.GetEnvironmentVariable("HOME")}/.local/share/Steam/steamapps/common/Stardew Valley";
- yield return $"{Environment.GetEnvironmentVariable("HOME")}/.steam/steam/steamapps/common/Stardew Valley";
// Mac
yield return "/Applications/Stardew Valley.app/Contents/MacOS";