题目搜索,收藏功能

This commit is contained in:
undefined committed 2020-06-24 13:39:32 +08:00
1 parent a248425db6
commit 441eeadaf3
23 files changed
+158 -97

No files matched your search

+2 -2
View File
@@ -60,8 +60,8 @@ async function del(id) {
fs.unlinkSync(root(`${moduleRoot}/${id}.hydro`));
}
async function install(url) {
await download(url, root(`${moduleRoot}/${String.random(16)}.hydro`));
function install(url) {
return download(url, root(`${moduleRoot}/${String.random(16)}.hydro`));
}
global.Hydro.lib.hpm = module.exports = {