mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +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',
|
||||
type: 'image'
|
||||
},
|
||||
{
|
||||
extension: 'bin',
|
||||
type: 'image'
|
||||
},
|
||||
{
|
||||
extension: 'dsk',
|
||||
type: 'image'
|
||||
|
@ -31,7 +31,7 @@ describe('Shared: SupportedFormats', function () {
|
||||
describe('.getNonCompressedExtensions()', function () {
|
||||
it('should return the supported non compressed extensions', function () {
|
||||
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