mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fix initialization for plugins (#6421)
Co-authored-by: yacchin1205 <968739+yacchin1205@users.noreply.github.com>
This commit is contained in:
parent
6c9730bc53
commit
c16ce64ea0
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
import {linkInstaller} from "ep_etherpad-lite/static/js/pluginfw/installer";
|
||||
import {linkInstaller, checkForMigration} from "ep_etherpad-lite/static/js/pluginfw/installer";
|
||||
import {persistInstalledPlugins} from "./commonPlugins";
|
||||
import fs from "node:fs";
|
||||
const settings = require('ep_etherpad-lite/node/utils/Settings');
|
||||
|
@ -56,6 +56,7 @@ const install = ()=> {
|
|||
}
|
||||
|
||||
(async () => {
|
||||
await checkForMigration();
|
||||
await run();
|
||||
await persistInstalledPlugins();
|
||||
})();
|
||||
|
@ -84,6 +85,7 @@ const remove = (plugins: string[])=>{
|
|||
}
|
||||
|
||||
(async () => {
|
||||
await checkForMigration();
|
||||
await walk();
|
||||
})();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue