diff --git a/src/SMAPI.Internal/Platform.cs b/src/SMAPI.Internal/Platform.cs index 81ca5c1f..54fa289e 100644 --- a/src/SMAPI.Internal/Platform.cs +++ b/src/SMAPI.Internal/Platform.cs @@ -10,6 +10,9 @@ namespace StardewModdingAPI.Internal Mac, /// The Windows version of the game. - Windows + Windows, + + /// The Windows version of the game. + Android } } diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index 6bb132d3..df3a1e80 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -23,7 +23,7 @@ namespace StardewModdingAPI public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("2.11.2"); /// Android SMAPI's current semantic version. - public static ISemanticVersion AndroidApiVersion { get; } = new Toolkit.SemanticVersion("0.8.8"); + public static ISemanticVersion AndroidApiVersion { get; } = new Toolkit.SemanticVersion("0.8.9-beta"); /// The minimum supported version of Stardew Valley. 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"); /// The target game platform. - internal static Platform Platform { get; } = EnvironmentUtility.DetectPlatform(); + internal static Platform Platform { get; } = Platform.Android; /// The game's assembly name. 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",