Permalink
Browse files

Changed so WinLess dont save settings to programData but to userData …

…instead
  • Loading branch information...
dunston committed Sep 3, 2012
1 parent cb08df2 commit fd442cf6788a762566888c21ae936c63bbe5eae1
Showing with 2 additions and 2 deletions.
  1. +2 −2 WinLess/Settings.cs
View
@@ -57,7 +57,7 @@ private void ApplyStartWithWindows()
}
public void SaveSettings(){
- string dataDir = string.Format("{0}\\data", Application.CommonAppDataPath);
+ string dataDir = string.Format("{0}\\data", Application.UserAppDataPath);
string settingsFilePath = string.Format("{0}\\settings.xml", dataDir);
try {
@@ -82,7 +82,7 @@ private void ApplyStartWithWindows()
public static Settings LoadSettings()
{
- string path = string.Format("{0}\\data\\settings.xml", Application.CommonAppDataPath);
+ string path = string.Format("{0}\\data\\settings.xml", Application.UserAppDataPath);
if (System.IO.File.Exists(path))
{
try

0 comments on commit fd442cf

Please sign in to comment.