Make sure to always find installed plugins

This commit is contained in:
2022-09-19 04:26:08 +02:00
parent 00184811ea
commit c0e1cd57b2
4 changed files with 5 additions and 1 deletions

1
xB.c
View File

@@ -1019,6 +1019,7 @@ plugin_resolve_relative_filename (const char *filename)
{
struct strv paths = strv_make ();
get_xdg_data_dirs (&paths);
strv_append (&paths, PROJECT_DATADIR);
char *result = resolve_relative_filename_generic
(&paths, PROGRAM_NAME "/plugins/", filename);
strv_free (&paths);