mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Editor: fix path detection not working on Android
This commit is contained in:
parent
b3e79477a6
commit
f00969cb81
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user