📦 Chore(custom): add 7z in build target

This commit is contained in:
Kuingsmile
2026-01-15 16:43:53 +08:00
parent 796fb9847d
commit 8c720ef02c
3 changed files with 19 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ async function main(context) {
}
}
})
const isZip = targets.some(target => target.name === 'zip')
const isZip = targets.some(target => target.name === 'zip' || target.name === '7z')
if (isZip) {
const portablePath = path.join(appOutDir, 'PORTABLE')
try {