mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
fixed #2058: Added pattern parsing support to custom capture path
This commit is contained in:
parent
7d386f4141
commit
2745bd61a4
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ public string CaptureFolder
|
|||
{
|
||||
if (!string.IsNullOrEmpty(AdvancedSettings.CapturePath))
|
||||
{
|
||||
return Helpers.GetAbsolutePath(AdvancedSettings.CapturePath);
|
||||
string captureFolderPath = NameParser.Parse(NameParserType.FolderPath, AdvancedSettings.CapturePath);
|
||||
return Helpers.GetAbsolutePath(captureFolderPath);
|
||||
}
|
||||
|
||||
return Program.ScreenshotsFolder;
|
||||
|
|
Loading…
Reference in a new issue