fix wrapper download dist

This commit is contained in:
SrGooglo 2025-02-11 17:11:08 +00:00
parent e9fd320321
commit afca74d6c7
2 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@
},
"dependencies": {
"7zip-min": "^2.0.0",
"@octokit/rest": "^21.1.0",
"@octokit/rest": "^19.0.4",
"axios": "^1.7.9",
"linebridge": "^0.22.3",
"live-directory": "^3.0.3"

View File

@ -48,6 +48,12 @@ async function setupLatestRelease({
const bundle = await findBundleFromRelease(release, distCompressedFile)
if (!bundle) {
throw new Error(
`Bundle not available for latest release: ${distCompressedFile}`,
)
}
console.log(`Bundle: > ${bundle.name} [${bundle.browser_download_url}]`)
// wirte a manifest file with bundle version and other info