remove unused code (#767)
This commit is contained in:
parent
d61bb78b2a
commit
fdfb060795
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue