fix wrong temp directory
This commit is contained in:
@@ -65,7 +65,9 @@ namespace PJ64Savestater
|
|||||||
|
|
||||||
private static string GetDefaultProfileFilePath()
|
private static string GetDefaultProfileFilePath()
|
||||||
{
|
{
|
||||||
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), DEFAULT_PROFILE_FILENAME);
|
var dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), Application.ProductName);
|
||||||
|
Directory.CreateDirectory(dir);
|
||||||
|
return Path.Combine(dir, DEFAULT_PROFILE_FILENAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CheckForInput()
|
private void CheckForInput()
|
||||||
|
|||||||
Reference in New Issue
Block a user