mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 09:17:36 +13:00
Check custom config path incase drive is not exist
This commit is contained in:
parent
5ceda757f3
commit
b8faec2e09
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public static string PersonalPath
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(CustomPersonalPath))
|
if (!string.IsNullOrEmpty(CustomPersonalPath) && Directory.Exists(CustomPersonalPath))
|
||||||
{
|
{
|
||||||
return CustomPersonalPath;
|
return CustomPersonalPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue