File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 587587function uvBuildPreInstall (version )
588588 local ok , value = pcall (function ()
589589 local build = findUvBuild (version )
590+ -- Return url/sha256 so vfox core performs download, checksum verification, and archive extraction.
590591 return {
591592 version = version ,
592593 url = uvBuildDownloadUrl (build ),
@@ -603,8 +604,11 @@ function uvBuildPreInstall(version)
603604 if uvBuildPackage == nil then
604605 error (" uv-build PreInstall did not provide install metadata" )
605606 end
606- if isNilOrEmpty (uvBuildPackage .url ) or isNilOrEmpty (uvBuildPackage .sha256 ) then
607- error (" uv-build PreInstall url and sha256 must not be empty" )
607+ if isNilOrEmpty (uvBuildPackage .url ) then
608+ error (" uv-build PreInstall url must not be empty" )
609+ end
610+ if isNilOrEmpty (uvBuildPackage .sha256 ) then
611+ error (" uv-build PreInstall sha256 must not be empty" )
608612 end
609613 return uvBuildPackage
610614end
You can’t perform that action at this time.
0 commit comments