summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/Program.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-17 16:42:04 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-11-28 00:01:44 -0500
commitf6479ea2b61ebcc4eda434d7d5cb664534a99801 (patch)
tree9e6a81adca1860cfdac2e6127bdf548aec9f66b8 /src/SMAPI.Installer/Program.cs
parentce80c68135b08fea7caaa9581b3c4eba61c3ec65 (diff)
downloadSMAPI-f6479ea2b61ebcc4eda434d7d5cb664534a99801.tar.gz
SMAPI-f6479ea2b61ebcc4eda434d7d5cb664534a99801.tar.bz2
SMAPI-f6479ea2b61ebcc4eda434d7d5cb664534a99801.zip
restructure installer for .NET 5 changes
Diffstat (limited to 'src/SMAPI.Installer/Program.cs')
-rw-r--r--src/SMAPI.Installer/Program.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/Program.cs b/src/SMAPI.Installer/Program.cs
index d9c31dd6..45cfea75 100644
--- a/src/SMAPI.Installer/Program.cs
+++ b/src/SMAPI.Installer/Program.cs
@@ -31,8 +31,7 @@ namespace StardewModdingApi.Installer
public static void Main(string[] args)
{
// find install bundle
- PlatformID platform = Environment.OSVersion.Platform;
- FileInfo zipFile = new FileInfo(Path.Combine(Program.InstallerPath, $"{(platform == PlatformID.Win32NT ? "windows" : "unix")}-install.dat"));
+ FileInfo zipFile = new FileInfo(Path.Combine(Program.InstallerPath, "install.dat"));
if (!zipFile.Exists)
{
Console.WriteLine($"Oops! Some of the installer files are missing; try re-downloading the installer. (Missing file: {zipFile.FullName})");