mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-04 17:45:24 +00:00
feat: add the operations layer for declared plugin actions
This commit is contained in:
1 parent
b87fe3c6a5
commit
cc725c7889
54 files changed
+22319
-8
No files matched your search
@@ -243,6 +243,9 @@ async function provisionLocalDesktopUserIfNeeded(): Promise<void> {
|
||||
// Last, so a plugin's activate() sees a fully wired server. A plugin that
|
||||
// fails to load must not stop the backend, so this never rejects.
|
||||
try {
|
||||
const { startOperationsMaintenance } =
|
||||
await import("./operations/maintenance.js");
|
||||
await startOperationsMaintenance();
|
||||
const { initializePlugins } = await import("./plugins/index.js");
|
||||
const loaded = await initializePlugins({ freshInstall });
|
||||
if (loaded.length > 0) {
|
||||
|
||||
Reference in new issue
Block a user