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:
Jonas Hermsmeier 2018-01-19 06:27:07 -08:00 committed by GitHub
parent fa4d6e9ef4
commit e1ddbd300d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,9 +57,9 @@ exports.selectImage = () => {
//
// See: https://github.com/probonopd/AppImageKit/commit/1569d6f8540aa6c2c618dbdb5d6fcbf0003952b7
defaultPath: process.env.OWD,
properties: [
'openFile'
'openFile',
'treatPackageAsDirectory'
],
filters: [
{