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_NO_TERMINAL` | Equivalent to `--no-terminal` above.
|
||||||
`SMAPI_MODS_PATH` | Equivalent to `--mods-path` above.
|
`SMAPI_MODS_PATH` | Equivalent to `--mods-path` above.
|
||||||
|
|
||||||
|
|
||||||
### Compile flags
|
### Compile flags
|
||||||
SMAPI uses a small number of conditional compilation constants, which you can set by editing the
|
SMAPI uses a small number of conditional compilation constants, which you can set by editing the
|
||||||
`<DefineConstants>` element in `SMAPI.csproj`. Supported constants:
|
`<DefineConstants>` element in `SMAPI.csproj`. Supported constants:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AssemblyName>SMAPI.Tests</AssemblyName>
|
<AssemblyName>SMAPI.Tests</AssemblyName>
|
||||||
<RootNamespace>SMAPI.Tests</RootNamespace>
|
<RootNamespace>SMAPI.Tests</RootNamespace>
|
||||||
|
@ -33,5 +32,4 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Import Project="..\..\build\common.targets" />
|
<Import Project="..\..\build\common.targets" />
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -89,13 +89,6 @@ namespace StardewModdingAPI.Toolkit.Framework
|
||||||
: "StardewValley.exe";
|
: "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
|
** Private methods
|
||||||
|
|
|
@ -46,12 +46,5 @@ namespace StardewModdingAPI.Toolkit.Utilities
|
||||||
{
|
{
|
||||||
return LowLevelEnvironmentUtility.GetExecutableName(platform.ToString());
|
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">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AssemblyName>SMAPI.Web</AssemblyName>
|
<AssemblyName>SMAPI.Web</AssemblyName>
|
||||||
<RootNamespace>StardewModdingAPI.Web</RootNamespace>
|
<RootNamespace>StardewModdingAPI.Web</RootNamespace>
|
||||||
|
@ -47,5 +46,4 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Import Project="..\..\build\common.targets" />
|
<Import Project="..\..\build\common.targets" />
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue