From f00969cb81b11edb44ac1ca6a6a3f4a6ecd52d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 22 May 2024 18:38:25 +0800 Subject: [PATCH] Editor: fix path detection not working on Android --- src/detection/editor/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/editor/editor.c b/src/detection/editor/editor.c index 6b42fbd0..af41c513 100644 --- a/src/detection/editor/editor.c +++ b/src/detection/editor/editor.c @@ -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)