Make sure to always find installed plugins
This commit is contained in:
1
xB.c
1
xB.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user