fix: Screenshot search is not working when custom path is set (#754)

This commit is contained in:
ScrapW
2024-03-23 05:50:19 +08:00
committed by GitHub
parent 70f52b1a2d
commit 2e0014739b

View File

@@ -168,7 +168,7 @@ namespace VRCX
var stopwatch = new Stopwatch();
stopwatch.Start();
var searchPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "VRChat");
var searchPath = GetVRChatPhotosLocation();
var screenshots = ScreenshotHelper.FindScreenshots(searchQuery, searchPath, (ScreenshotHelper.ScreenshotSearchType)searchType);
JArray json = new JArray();