diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-03 17:29:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-03 17:29:27 +0200 |
commit | 0faa50fbad30968b0bc8ab302cad9cc9d0b8dd68 (patch) | |
tree | 199d4888c341d5283186fb48e72f2337522d8aaf | |
parent | ba7bce3317afc65770976add101ed93c797ccc57 (diff) |
m
-rwxr-xr-x | automedia | bin | 120760 -> 120760 bytes | |||
-rw-r--r-- | src/html.c | 14 |
2 files changed, 5 insertions, 9 deletions
Binary files differ @@ -178,17 +178,13 @@ static int plugin_list_append_item_callback(const char *name, const char *url, v /* Store result in @plugin_filepath */ static int get_plugin_filepath(const char *program_dir, const char *plugin_name, char *plugin_filepath) { - const char *path_components[] = { program_dir, "plugins" }; - path_join(plugin_filepath, path_components, 2); - /* + (void)program_dir; + + strcpy(plugin_filepath, "/usr/share/automedia/plugins"); if(file_exists(plugin_filepath) != 0) { - strcpy(plugin_filepath, "/usr/share/automedia/plugins"); - if(file_exists(plugin_filepath) != 0) { - fprintf(stderr, "Failed to find plugins directory\n"); - return -1; - } + fprintf(stderr, "Failed to find plugins directory\n"); + return -1; } - */ strcat(plugin_filepath, "/"); strcat(plugin_filepath, plugin_name); |