diff --git a/src/utils/manifest.js b/src/utils/manifest.js index 9afdd48..924d4ac 100644 --- a/src/utils/manifest.js +++ b/src/utils/manifest.js @@ -47,7 +47,9 @@ export class Image { this.name = json.name this.sparse = json.sparse - if (this.name === 'system') { + // before AGNOS 11 - flash alt skip-chunks image + // after AGNOS 11 - flash main non-sparse image + if (this.name === 'system' && this.sparse && json.alt) { this.checksum = json.alt.hash this.fileName = `${this.name}-skip-chunks-${json.hash_raw}.img` this.archiveUrl = json.alt.url