enhance: usually we create hidden sub-directories in $HOME with lowercase names

This commit is contained in:
leo 2024-08-13 10:19:16 +08:00
parent 19cb5678a7
commit d1b236b090
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ namespace SourceGit.Native
{
var osAppDataDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
if (string.IsNullOrEmpty(osAppDataDir))
DataDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".SourceGit");
DataDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".sourcegit");
else
DataDir = Path.Combine(osAppDataDir, "SourceGit");