diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-11 01:40:46 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-11 01:40:46 -0400 |
commit | 2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc (patch) | |
tree | 8585ea7099bce72968fd5b0c2ca797c676e21b5a /src/SMAPI/Constants.cs | |
parent | 10531e537fda7c4901304b295f4ef60ac1f83eea (diff) | |
download | SMAPI-2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc.tar.gz SMAPI-2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc.tar.bz2 SMAPI-2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc.zip |
fix Harmony issue when assembly is loaded from memory (#711)
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 a898fccd..907a93b2 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -61,6 +61,9 @@ namespace StardewModdingAPI /// <summary>The absolute path to the folder containing SMAPI's internal files.</summary> internal static readonly string InternalFilesPath = Program.DllSearchPath; + /// <summary>The folder containing temporary files that are only valid for the current session.</summary> + internal static string InternalTempFilesPath => Path.Combine(Program.DllSearchPath, ".temp"); + /// <summary>The file path for the SMAPI configuration file.</summary> internal static string ApiConfigPath => Path.Combine(Constants.InternalFilesPath, "config.json"); |