mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-31 00:54:59 +00:00
fix: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
returns an empty string on some linux distro
* fallback the storage folder to `~/.sourcegit`
This commit is contained in:
parent
9561f7ef64
commit
38665a61cb
3 changed files with 20 additions and 9 deletions
10
README.md
10
README.md
|
@ -45,11 +45,11 @@ You can download the latest stable from [Releases](https://github.com/sourcegit-
|
|||
|
||||
This software creates a folder `$"{System.Environment.SpecialFolder.ApplicationData}/SourceGit"`, which is platform-dependent, to store user settings, downloaded avatars and crash logs.
|
||||
|
||||
| OS | PATH |
|
||||
|---------|-------------------------------------------------|
|
||||
| Windows | `C:\Users\USER_NAME\AppData\Roaming\SourceGit` |
|
||||
| Linux | `${HOME}/.config/SourceGit` |
|
||||
| macOS | `${HOME}/Library/Application Support/SourceGit` |
|
||||
| OS | PATH |
|
||||
|---------|-----------------------------------------------------|
|
||||
| Windows | `C:\Users\USER_NAME\AppData\Roaming\SourceGit` |
|
||||
| Linux | `${HOME}/.config/SourceGit` or `${HOME}/.Sourcegit` |
|
||||
| macOS | `${HOME}/Library/Application Support/SourceGit` |
|
||||
|
||||
For **Windows** users:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue