mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-06 09:41:33 +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);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
const source = new sourceDestination.File(
|
const file = new sourceDestination.File(
|
||||||
params.image,
|
params.image,
|
||||||
sourceDestination.File.OpenFlags.Read,
|
sourceDestination.File.OpenFlags.Read,
|
||||||
);
|
);
|
||||||
|
const source = await file.getInnerSource();
|
||||||
|
|
||||||
const progressBars: { [key: string]: any } = {
|
const progressBars: { [key: string]: any } = {
|
||||||
flashing: new visuals.Progress('Flashing'),
|
flashing: new visuals.Progress('Flashing'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user