mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
Support compressed images in balena local flash
Change-type: minor
This commit is contained in:
parent
7b7d00c642
commit
c63569d592
@ -93,10 +93,11 @@ export const flash: CommandDefinition<
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const source = new sourceDestination.File(
|
||||
const file = new sourceDestination.File(
|
||||
params.image,
|
||||
sourceDestination.File.OpenFlags.Read,
|
||||
);
|
||||
const source = await file.getInnerSource();
|
||||
|
||||
const progressBars: { [key: string]: any } = {
|
||||
flashing: new visuals.Progress('Flashing'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user