summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/InteractiveInstaller.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-31 17:44:37 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-31 17:44:37 -0400
commite4a5d8d46a4417de8c966b8d4a338fb0c39bbaeb (patch)
tree52c0d43e655dbcfb9317a07373df6b25bcd41067 /src/SMAPI.Installer/InteractiveInstaller.cs
parent9c7858a28a8ae7e14a6654c41c2b5981d88b10ff (diff)
downloadSMAPI-e4a5d8d46a4417de8c966b8d4a338fb0c39bbaeb.tar.gz
SMAPI-e4a5d8d46a4417de8c966b8d4a338fb0c39bbaeb.tar.bz2
SMAPI-e4a5d8d46a4417de8c966b8d4a338fb0c39bbaeb.zip
fix incorrect path in Windows installer (#582, #588)
Diffstat (limited to 'src/SMAPI.Installer/InteractiveInstaller.cs')
-rw-r--r--src/SMAPI.Installer/InteractiveInstaller.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs
index 1da5c35a..090d12b9 100644
--- a/src/SMAPI.Installer/InteractiveInstaller.cs
+++ b/src/SMAPI.Installer/InteractiveInstaller.cs
@@ -319,9 +319,7 @@ namespace StardewModdingApi.Installer
}
// get folders
- DirectoryInfo packageDir = platform.IsMono()
- ? new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)) // installer runs from internal folder on Mono
- : new DirectoryInfo(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "internal", "Windows"));
+ DirectoryInfo packageDir = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
paths = new InstallerPaths(packageDir, installDir, EnvironmentUtility.GetExecutableName(platform));
}
Console.Clear();