mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix wrapper download dist
This commit is contained in:
parent
e9fd320321
commit
afca74d6c7
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user