diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-06 21:45:03 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-06 21:45:03 -0400 |
commit | cd62dcc8cfa35a9b423f4d15359ec3083b4c6d44 (patch) | |
tree | f5eb9c233aeaa44b9d0c22278b86c5648d5ac393 /src/SMAPI/Constants.cs | |
parent | 9e525533e10ade49c733a34373e0fb749748918e (diff) | |
download | SMAPI-cd62dcc8cfa35a9b423f4d15359ec3083b4c6d44.tar.gz SMAPI-cd62dcc8cfa35a9b423f4d15359ec3083b4c6d44.tar.bz2 SMAPI-cd62dcc8cfa35a9b423f4d15359ec3083b4c6d44.zip |
add simple Harmony wrapper for validation, error-handling, etc (#541)
Diffstat (limited to 'src/SMAPI/Constants.cs')
-rw-r--r-- | src/SMAPI/Constants.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index 786c1a39..d96c5839 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -103,6 +103,9 @@ namespace StardewModdingAPI /// <summary>The target game platform.</summary> internal static Platform Platform { get; } = EnvironmentUtility.DetectPlatform(); + /// <summary>The game's assembly name.</summary> + internal static string GameAssemblyName => Constants.Platform == Platform.Windows ? "Stardew Valley" : "StardewValley"; + /********* ** Internal methods |