From 5b3dd56d982629349e612b9e984e65dec09b438f Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Mon, 24 Jul 2017 15:58:50 +1000 Subject: ui/ncurses: Add plugin menu and nc-plugin screen Add a second pmenu accessible via the main menu which displays uninstalled and installed pb-plugins. Uninstalled options can be selected to trigger pb-plugin to install them, after which they are updated and marked as installed in the menu. Installed plugins can be investigated by entering the new plugin screen, where plugin metadata and executables are displayed. Executables can be run from this screen via cui_run_cmd(). Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ui/ncurses/Makefile.am') diff --git a/ui/ncurses/Makefile.am b/ui/ncurses/Makefile.am index feec51d..40e11b8 100644 --- a/ui/ncurses/Makefile.am +++ b/ui/ncurses/Makefile.am @@ -51,8 +51,11 @@ ui_ncurses_libpbnc_la_SOURCES = \ ui/ncurses/nc-subset.c \ ui/ncurses/nc-subset.h \ ui/ncurses/nc-statuslog.c \ - ui/ncurses/nc-statuslog.h - + ui/ncurses/nc-statuslog.h \ + ui/ncurses/nc-plugin.c \ + ui/ncurses/nc-plugin.h \ + ui/ncurses/nc-plugin-help.c \ + ui/ncurses/nc-plugin-menu-help.c sbin_PROGRAMS += ui/ncurses/petitboot-nc -- cgit v1.2.1