Skip to content

Commit

Permalink
support jsons without the system alt image
Browse files Browse the repository at this point in the history
  • Loading branch information
andiradulescu committed Sep 12, 2024
1 parent a4f0acb commit 4489796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Image {
this.name = json.name
this.sparse = json.sparse

if (this.name === 'system') {
if (this.name === 'system' && json.alt) {
this.checksum = json.alt.hash
this.fileName = `${this.name}-skip-chunks-${json.hash_raw}.img`
this.archiveUrl = json.alt.url
Expand Down

0 comments on commit 4489796

Please sign in to comment.