Packages (Windows): code cleanups

This commit is contained in:
李通洲
2026-02-13 20:50:45 +08:00
parent 0e9a5acdbd
commit 49ef7fc51f
+1 -1
View File
@@ -78,7 +78,7 @@ static inline void wrapYyjsonFree(yyjson_doc** doc)
static void detectScoop(FFPackagesResult* result)
{
FF_STRBUF_AUTO_DESTROY scoopPath = ffStrbufCreateA(MAX_PATH + 3);
ffStrbufAppendS(&scoopPath, instance.state.platform.homeDir.chars);
ffStrbufAppend(&scoopPath, &instance.state.platform.homeDir);
ffStrbufAppendS(&scoopPath, ".config/scoop/config.json");
yyjson_val* root = NULL;