fixed #2058: Added pattern parsing support to custom capture path

This commit is contained in:
Jaex 2018-07-02 15:22:22 +03:00
parent 7d386f4141
commit 2745bd61a4

View file

@ -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;