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.
/// %LocalAppData%//StardewValley
/// </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>
/// Execution path to execute the code.
@ -29,7 +29,7 @@ namespace StardewModdingAPI
/// Path for log files to be output to.
/// %LocalAppData%//StardewValley//ErrorLogs
/// </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;