Skip to content

Commit

Permalink
fix core update error
Browse files Browse the repository at this point in the history
  • Loading branch information
Icexbb committed Jul 28, 2023
1 parent 05c71c9 commit f3696d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const CoreBin: string = ipcRenderer.sendSync("get-core-path")

export async function downloadLatestCore(progress) {
const coreUrlResp = await axios.get(releaseUrl)
let assetList :object[] = coreUrlResp.data[0]['assets'][0]
let assetList :object[] = coreUrlResp.data[0]['assets']
assetList.forEach(value => {
let coreName:string = value['name']
let found = false;
Expand Down

0 comments on commit f3696d6

Please sign in to comment.