mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: usually we create hidden sub-directories in $HOME with lowercase names
This commit is contained in:
parent
19cb5678a7
commit
d1b236b090
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue