remove unused code (#767)

This commit is contained in:
Jesse Plamondon-Willard 2021-03-17 20:36:31 -04:00
parent d61bb78b2a
commit fdfb060795
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
5 changed files with 0 additions and 19 deletions

View File

@ -50,7 +50,6 @@ environment variable | purpose
`SMAPI_NO_TERMINAL` | Equivalent to `--no-terminal` above.
`SMAPI_MODS_PATH` | Equivalent to `--mods-path` above.
### Compile flags
SMAPI uses a small number of conditional compilation constants, which you can set by editing the
`<DefineConstants>` element in `SMAPI.csproj`. Supported constants:

View File

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>SMAPI.Tests</AssemblyName>
<RootNamespace>SMAPI.Tests</RootNamespace>
@ -33,5 +32,4 @@
</ItemGroup>
<Import Project="..\..\build\common.targets" />
</Project>

View File

@ -89,13 +89,6 @@ namespace StardewModdingAPI.Toolkit.Framework
: "StardewValley.exe";
}
/// <summary>Get whether the platform uses Mono.</summary>
/// <param name="platform">The current platform.</param>
public static bool IsMono(string platform)
{
return platform == nameof(Platform.Linux) || platform == nameof(Platform.Mac);
}
/*********
** Private methods

View File

@ -46,12 +46,5 @@ namespace StardewModdingAPI.Toolkit.Utilities
{
return LowLevelEnvironmentUtility.GetExecutableName(platform.ToString());
}
/// <summary>Get whether the platform uses Mono.</summary>
/// <param name="platform">The current platform.</param>
public static bool IsMono(this Platform platform)
{
return LowLevelEnvironmentUtility.IsMono(platform.ToString());
}
}
}

View File

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<AssemblyName>SMAPI.Web</AssemblyName>
<RootNamespace>StardewModdingAPI.Web</RootNamespace>
@ -47,5 +46,4 @@
</ItemGroup>
<Import Project="..\..\build\common.targets" />
</Project>