mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
update versions for Stardew Valley 1.5.5 and remove 1.5.4-specific checks
This commit is contained in:
@@ -277,18 +277,6 @@ namespace StardewModdingApi.Installer
|
||||
/*********
|
||||
** Step 4: validate assumptions
|
||||
*********/
|
||||
// not 64-bit on Windows
|
||||
if (context.Platform == Platform.Windows)
|
||||
{
|
||||
FileInfo linuxExecutable = new FileInfo(Path.Combine(paths.GamePath, "StardewValley.exe"));
|
||||
if (linuxExecutable.Exists && this.Is64Bit(linuxExecutable.FullName))
|
||||
{
|
||||
this.PrintError("Oops! The detected game install path seems to be unofficial 64-bit mode, which is no longer supported. You can update to Stardew Valley 1.5.5 or later instead. See https://stardewvalleywiki.com/Modding:Migrate_to_64-bit_on_Windows for more info.");
|
||||
Console.ReadLine();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// executable exists
|
||||
if (!File.Exists(paths.ExecutablePath))
|
||||
{
|
||||
@@ -297,14 +285,6 @@ namespace StardewModdingApi.Installer
|
||||
return;
|
||||
}
|
||||
|
||||
// not Stardew Valley 1.5.5+
|
||||
if (File.Exists(Path.Combine(paths.GamePath, "Stardew Valley.dll")))
|
||||
{
|
||||
this.PrintError("Oops! The detected game install path seems to be Stardew Valley 1.5.5 or later, but this version of SMAPI is only compatible up to Stardew Valley 1.5.4. Please check for a newer version of SMAPI: https://smapi.io.");
|
||||
Console.ReadLine();
|
||||
return;
|
||||
}
|
||||
|
||||
// game folder doesn't contain paths beyond the max limit
|
||||
{
|
||||
string[] tooLongPaths = PathUtilities.GetTooLongPaths(Path.Combine(paths.GamePath, "Mods")).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user