feat(plugin): support generic addon plugins and build Flatpak by default
The Plugins page replaces the Providers tab and lists every plugin alike: package-manager providers and generic C++ addons, which can be any extension (UI tweak, helper, ...) via IPlugin (onLoad/onUnload/onUiReady) exported with the new FWS_ADDON_PLUGIN macro. Flatpak now ships as a plugin built by default (FWS_BUILD_FLATPAK_PLUGIN=ON), so a plain build is Flatpak-enabled. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
12 files changed
+535
-250
No files matched your search
@@ -4,7 +4,10 @@
|
||||
// Build it as a shared library and drop it in a plugin directory
|
||||
// (next to the PacManager binary in ./plugins/ or in
|
||||
// ~/.local/share/PacManager/plugins/); the app discovers it at launch and on
|
||||
// the Providers page via "Recharger".
|
||||
// the Plugins page via "Recharger".
|
||||
//
|
||||
// This is a *provider* plugin: it adds a package manager. For non-provider
|
||||
// extensions (UI tweaks, helpers, ...), see plugins/example-addon instead.
|
||||
//
|
||||
// A plugin only needs to:
|
||||
// 1. implement IPackageManager (see include/package-manager.h)
|
||||
|
||||
Reference in new issue
Block a user