mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-21 01:42:26 +00:00
Merge pull request #1078 from balena-io/flash-compressed-images
Support compressed images in `balena local flash`
This commit is contained in:
commit
0fd0b6e1fd
@ -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