mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
feat: support .sdcard images (#1493)
Change-Type: minor Changelog-Entry: Add support for `.sdcard` images. Link: https://github.com/resin-io/etcher/issues/1360 Fixes: https://github.com/resin-io/etcher/issues/1348 Fixes: https://github.com/resin-io/etcher/issues/1361
This commit is contained in:
parent
6037eeba00
commit
a3c13e75cf
@ -68,5 +68,9 @@ module.exports = [
|
||||
{
|
||||
extension: 'dmg',
|
||||
type: 'image'
|
||||
},
|
||||
{
|
||||
extension: 'sdcard',
|
||||
type: 'image'
|
||||
}
|
||||
];
|
||||
|
@ -35,7 +35,7 @@ describe('Shared: SupportedFormats', 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' ]);
|
||||
m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard' ]);
|
||||
});
|
||||
|
||||
});
|
||||
@ -81,7 +81,8 @@ describe('Shared: SupportedFormats', function() {
|
||||
'path/to/filename.dsk',
|
||||
'path/to/filename.hddimg',
|
||||
'path/to/filename.raw',
|
||||
'path/to/filename.dmg'
|
||||
'path/to/filename.dmg',
|
||||
'path/to/filename.sdcard'
|
||||
|
||||
], (filename) => {
|
||||
it(`should return true for ${filename}`, function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user