From 204ecec1cdae2a2502f136fe54656529bf45a03d Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 18 Dec 2021 02:52:26 -0800 Subject: [PATCH] frontend: source: Extract firmware from factory images --- src/frontend/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/source.ts b/src/frontend/source.ts index 6178fb5..923dbb7 100644 --- a/src/frontend/source.ts +++ b/src/frontend/source.ts @@ -126,7 +126,7 @@ class SourceResolver { // Extract nested images zip this.spinner.text = `extracting factory images: ${file}` let imagesFile = `${imagesTmp.dir}/${imagesEntry}` - await run(`unzip -d ${imagesTmp.dir} ${file} ${imagesEntry}`) + await run(`unzip -d ${imagesTmp.dir} ${file}`) return await this.wrapLeafFile(imagesFile, file) } else if (files.find(f => f == 'payload.bin') != undefined) { // OTA package