From 979f151181f8845096d1e2a0032aa823676c61f3 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 27 Dec 2024 20:06:17 +0100 Subject: [PATCH] fix: Don't show library plugins in --plugins subcommand --- plugins/builtin/source/content/command_line_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/builtin/source/content/command_line_interface.cpp b/plugins/builtin/source/content/command_line_interface.cpp index 45f925d5f..94575f1d2 100644 --- a/plugins/builtin/source/content/command_line_interface.cpp +++ b/plugins/builtin/source/content/command_line_interface.cpp @@ -142,10 +142,10 @@ namespace hex::plugin::builtin { hex::log::println("Loaded plugins:"); for (const auto &plugin : PluginManager::getPlugins()) { + if (plugin.isLibraryPlugin()) continue; + hex::log::print("- \033[1m{}\033[0m", plugin.getPluginName()); - hex::log::println(" by {}", plugin.getPluginAuthor()); - hex::log::println(" \033[2;3m{}\033[0m", plugin.getPluginDescription()); }