mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 18:56:31 +00:00
feat(image-stream): Support .bin image extension (#1750)
This adds support for selecting images with a `.bin` file extension. Change-Type: minor Closes #1739
This commit is contained in:
parent
cb7117a36b
commit
3147a93ca6
@ -53,6 +53,10 @@ module.exports = [
|
|||||||
extension: 'iso',
|
extension: 'iso',
|
||||||
type: 'image'
|
type: 'image'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
extension: 'bin',
|
||||||
|
type: 'image'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
extension: 'dsk',
|
extension: 'dsk',
|
||||||
type: 'image'
|
type: 'image'
|
||||||
|
@ -31,7 +31,7 @@ describe('Shared: SupportedFormats', function () {
|
|||||||
describe('.getNonCompressedExtensions()', function () {
|
describe('.getNonCompressedExtensions()', function () {
|
||||||
it('should return the supported non compressed extensions', function () {
|
it('should return the supported non compressed extensions', function () {
|
||||||
const extensions = supportedFormats.getNonCompressedExtensions()
|
const extensions = supportedFormats.getNonCompressedExtensions()
|
||||||
m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard', 'rpi-sdimg' ])
|
m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'bin', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard', 'rpi-sdimg' ])
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user