mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
enhance: usually we create hidden sub-directories in $HOME with lowercase names
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user