Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Sep 27, 2024
1 parent 13e4e70 commit 8ba171a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/download/hash-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ async function start() {
for (const o of list) {
o.darwin_md5 = await download(o.darwin);
console.log('darwin_md5', o.darwin_md5);
await writeJSON(join(app.getPath('downloads'), 'CocosDashboard/list.json'), list);
await writeJSON(join(app.getPath('downloads'), 'CocosDashboard/list.json'), list, { spaces: 4 });
o.win32_md5 = await download(o.win32);
console.log('win32_md5', o.win32_md5);
await writeJSON(join(app.getPath('downloads'), 'CocosDashboard/list.json'), list);
await writeJSON(join(app.getPath('downloads'), 'CocosDashboard/list.json'), list, { spaces: 4 });
}
console.log('all done!!');
});
Expand Down

0 comments on commit 8ba171a

Please sign in to comment.