chore(plugin): 纠正『桌面包内置插件』的错误假设;annotate 试点回退单文件;市场发布 browser 1.7.0
This commit is contained in:
1 parent
496e4b8562
commit
d98580065f
5 files changed
+12
-24
No files matched your search
@@ -12,7 +12,9 @@ const srcRoot = process.argv[2] ? path.resolve(process.argv[2]) : path.resolve(r
|
||||
const outDir = path.join(root, 'plugins', 'runtime')
|
||||
const IDS = ['batch-export', 'blank-canvas', 'browser', 'image-annotate', 'image-vectorize', 'style-source', 'white-bg-800', 'xianyi-cutout']
|
||||
// v3.25.41(M1):目录化插件试点 —— 这些 id 产出 <id>/{manifest.json,main.js},其余仍是单文件(双轨兼容)
|
||||
const FOLDER_IDS = ['image-annotate']
|
||||
// ⚠️ 2026-11-20 修正:桌面包不随包发插件(scripts/strip-plugins.js),插件只能从市场装,
|
||||
// 而市场目前只支持单文件 ⇒ 目录形态暂不用于生产插件,等 M3(zip 安装)落地再启用。
|
||||
const FOLDER_IDS = []
|
||||
|
||||
const sha = (buf) => crypto.createHash('sha256').update(buf).digest()
|
||||
const shaHex = (buf) => sha(buf).toString('hex')
|
||||
|
||||
Reference in new issue
Block a user