From ee840709d3d93376f9b5da6c34572424079304b8 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 6 May 2024 16:39:57 -0400 Subject: [Feature] Open plugins now recognizes known filetypes and can run them now you can run your lua files without having to add the viewer to the shortcut or if you want a bmp file to be displayed when you start the device that can be done as well Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b --- apps/filetree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/filetree.c') diff --git a/apps/filetree.c b/apps/filetree.c index 594a0bd6f1..9550adbac2 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -755,7 +755,7 @@ int ft_enter(struct tree_context* c) return rc; } - plugin = filetype_get_plugin(file, plugin_path, sizeof(plugin_path)); + plugin = filetype_get_plugin(file->attr, plugin_path, sizeof(plugin_path)); if (plugin) { #ifdef PLUGINS_RUN_IN_BROWSER /* Stay in the filetree to run a plugin */ -- cgit v1.2.3