bump version to beta and hardcode platform for Android

This commit is contained in:
Chris 2019-08-03 05:05:08 -04:00
parent 17c345fdde
commit af49b4457b
2 changed files with 7 additions and 3 deletions

View File

@ -10,6 +10,9 @@ namespace StardewModdingAPI.Internal
Mac,
/// <summary>The Windows version of the game.</summary>
Windows
Windows,
/// <summary>The Windows version of the game.</summary>
Android
}
}

View File

@ -23,7 +23,7 @@ namespace StardewModdingAPI
public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("2.11.2");
/// <summary>Android SMAPI's current semantic version.</summary>
public static ISemanticVersion AndroidApiVersion { get; } = new Toolkit.SemanticVersion("0.8.8");
public static ISemanticVersion AndroidApiVersion { get; } = new Toolkit.SemanticVersion("0.8.9-beta");
/// <summary>The minimum supported version of Stardew Valley.</summary>
public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.3.36");
@ -118,7 +118,7 @@ namespace StardewModdingAPI
internal static ISemanticVersion GameVersion { get; } = new GameVersion("1.3.36");
/// <summary>The target game platform.</summary>
internal static Platform Platform { get; } = EnvironmentUtility.DetectPlatform();
internal static Platform Platform { get; } = Platform.Android;
/// <summary>The game's assembly name.</summary>
internal static string GameAssemblyName => Constants.Platform == Platform.Windows ? "Stardew Valley" : "StardewValley";
@ -158,6 +158,7 @@ namespace StardewModdingAPI
{
case Platform.Linux:
case Platform.Mac:
case Platform.Android:
removeAssemblyReferences = new[]
{
"Netcode",