chore: 移除网页版遗留(KV 插件发布脚本 / verify-release / 旧域名引用),插件纯函数抽到 scripts/plugin-integrity.mjs
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 4s
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 4s
This commit is contained in:
1 parent
bf29d9f9d9
commit
142a13db36
8 files changed
+97
-247
No files matched your search
@@ -11,7 +11,7 @@ const PLUGIN_REPO = '/Users/qiqi/open/github/iwb-plugins'
|
||||
// 清单缺 integrity 即拒载(bad-entry),所以 mock 清单必须像生产发布器一样带真 sha256。
|
||||
let _integrityOf = null
|
||||
async function integrityOf(buf) {
|
||||
if (!_integrityOf) _integrityOf = (await import(path.join(__dirname, '..', 'scripts', 'plugins-publish.mjs'))).integrityOf
|
||||
if (!_integrityOf) _integrityOf = (await import(path.join(__dirname, '..', 'scripts', 'plugin-integrity.mjs'))).integrityOf
|
||||
return _integrityOf(buf)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user