File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ export const useCoreBranch = (isAlpha = false) => {
7979 } )
8080 if ( body . message ) throw body . message
8181
82- const { assets, name } = body
83- const assetName = getKernelAssetFileName ( isAlpha ? remoteVersion . value : name , cpuLevel )
82+ const { assets, tag_name } = body
83+ const assetName = getKernelAssetFileName ( isAlpha ? remoteVersion . value : tag_name , cpuLevel )
8484 const asset = assets . find ( ( v : any ) => v . name === assetName )
8585 if ( ! asset ) throw 'Asset Not Found:' + assetName
8686 if ( asset . uploader . type !== 'Bot' ) {
@@ -167,7 +167,7 @@ export const useCoreBranch = (isAlpha = false) => {
167167 Authorization : getGitHubApiAuthorization ( ) ,
168168 } )
169169 if ( body . message ) throw body . message
170- return body . name
170+ return body . tag_name
171171 } catch ( error : any ) {
172172 console . log ( error )
173173 showTips && message . error ( error . message )
You can’t perform that action at this time.
0 commit comments