Reverting GetFolderPath change

This commit is contained in:
James Finlay 2016-03-06 14:04:22 -08:00
parent 93112cbb32
commit bfd8d04766
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ namespace StardewModdingAPI
/// Stardew Valley's local app data location. /// Stardew Valley's local app data location.
/// %LocalAppData%//StardewValley /// %LocalAppData%//StardewValley
/// </summary> /// </summary>
public static string DataPath => Path.Combine(Environment.SpecialFolder.ApplicationData.ToString(), "StardewValley"); public static string DataPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley");
/// <summary> /// <summary>
/// Execution path to execute the code. /// Execution path to execute the code.
@ -29,7 +29,7 @@ namespace StardewModdingAPI
/// Path for log files to be output to. /// Path for log files to be output to.
/// %LocalAppData%//StardewValley//ErrorLogs /// %LocalAppData%//StardewValley//ErrorLogs
/// </summary> /// </summary>
public static string LogPath => Path.Combine(Environment.SpecialFolder.ApplicationData.ToString(), "StardewValley", "ErrorLogs"); public static string LogPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs");
public const int MajorVersion = 0; public const int MajorVersion = 0;