mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-25 12:16:37 +00:00
fix(gui): Allow selection of images in folders with extension (#1976)
This fixes selection of images contained in directories with a file extension (i.e. "openSUSE-Leap-42.3-DVD-x86_64.iso") in the open file dialog. Change-Type: patch Changelog-Entry: Fix selection of images in folders with file extension on Mac OS
This commit is contained in:
parent
fa4d6e9ef4
commit
e1ddbd300d
@ -57,9 +57,9 @@ exports.selectImage = () => {
|
|||||||
//
|
//
|
||||||
// See: https://github.com/probonopd/AppImageKit/commit/1569d6f8540aa6c2c618dbdb5d6fcbf0003952b7
|
// See: https://github.com/probonopd/AppImageKit/commit/1569d6f8540aa6c2c618dbdb5d6fcbf0003952b7
|
||||||
defaultPath: process.env.OWD,
|
defaultPath: process.env.OWD,
|
||||||
|
|
||||||
properties: [
|
properties: [
|
||||||
'openFile'
|
'openFile',
|
||||||
|
'treatPackageAsDirectory'
|
||||||
],
|
],
|
||||||
filters: [
|
filters: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user