Editor: fix path detection not working on Android

This commit is contained in:
李通洲 2024-05-22 18:38:25 +08:00
parent b3e79477a6
commit f00969cb81

View File

@ -37,7 +37,7 @@ const char* ffDetectEditor(FFEditorResult* result)
if (result->name.chars[0] != '/')
{
if (ffProcessAppendStdOut(&result->path, (char* const[]){
"/usr/bin/which",
FASTFETCH_TARGET_DIR_USR "/bin/which",
result->name.chars,
NULL,
}) != NULL || result->path.length == 0)