diff --git a/PathfinderJson/SettingsIo.cs b/PathfinderJson/SettingsIo.cs
index f6a6b07..2de9321 100644
--- a/PathfinderJson/SettingsIo.cs
+++ b/PathfinderJson/SettingsIo.cs
@@ -88,6 +88,7 @@ private static string LocateAppDataFolder()
return AppDataFolder;
}
+
///
/// This method sets up all of the main directories, and also initializes the variable. This does NOT create the SettingsDirectory.
///
@@ -132,6 +133,10 @@ public static void SetupBaseDirectories()
}
}
+ ///
+ /// This sets the value , by reading the standard settings directory and resolving the redirect file if needed.
+ ///
+ /// The path to the JaykeBird programs AppData folder.
static void SetSettingsDirectoryVariable(string appDataFolder)
{
// in comparison to FindLatestSettings(), this locates the directory that settings should be placed in
@@ -521,9 +526,9 @@ public static (string? dirPath, bool canRequestUpgrade) LocateLatestSettingsDire
{
// let's also use the current version's settings in this folder too
// (so, we'll write a new settings redirect file)
- string currentnDir = Path.Combine(mainSettingsDir, App.VersionString);
+ string currentnDir = Path.Combine(mainSettingsDir, App.VersionString); // this is the standard settings directory
Directory.CreateDirectory(currentnDir);
- File.WriteAllText(Path.Combine(currentnDir, Settings_Redirect_Filename), newDir, UTF8Encoding);
+ File.WriteAllText(Path.Combine(currentnDir, Settings_Redirect_Filename), newDir, UTF8Encoding); // writing redirect file
return (newDir, false);
}
}