Platform: add $EXE_PATH/../share to dataDir

Support loading presets when fastfetch is installed in a special path. eg. `/opt/homebrew/bin/`
This commit is contained in:
李通洲 committed 2023-08-24 11:14:51 +08:00
1 parent ce47a82fb5
commit 28c01599d5
2 files changed
+33 -2

No files matched your search

@@ -48,7 +48,7 @@ static void getProcessInformation(pid_t pid, FFstrbuf* processName, FFstrbuf* ex
if(length > 0)
exe->length = (uint32_t)length;
#else
#elif defined(__FreeBSD__)
size_t size = exe->allocated;
if(!sysctl(