mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-09 07:18:38 +12:00
fixed #390: When doing gif recording if directory not exist then create it
This commit is contained in:
parent
1636fec4fb
commit
dbd0926685
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ public void StartRecording(TaskSettings taskSettings, bool skipRegionSelection =
|
|||
sourceFilePath = path = Path.Combine(taskSettings.CaptureFolder, TaskHelpers.GetFilename(taskSettings, "gif"));
|
||||
}
|
||||
|
||||
Helpers.CreateDirectoryIfNotExist(sourceFilePath);
|
||||
screenRecorder.SaveAsGIF(sourceFilePath, taskSettings.ImageSettings.ImageGIFQuality);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue