core: support hydrooj patch

This commit is contained in:
undefined committed 2023-04-03 13:31:04 +08:00
1 parent 4d7190b9b4
commit 90e4b8040e
4 files changed
+55 -1

No files matched your search

+1
View File
@@ -204,6 +204,7 @@ if (!argv.args[0] || argv.args[0] === 'cli') {
fs.removeSync(newAddonPath);
console.log(`Successfully uninstalled ${name}.`);
});
require('../src/commands/patch').register(cli);
cli.help();
cli.parse();
if (!cli.matchedCommand) {