From e1ddbd300d5913831d30b8903373de5eaa254289 Mon Sep 17 00:00:00 2001 From: Jonas Hermsmeier Date: Fri, 19 Jan 2018 06:27:07 -0800 Subject: [PATCH] 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 --- lib/gui/os/dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gui/os/dialog.js b/lib/gui/os/dialog.js index 25839bbc..56f8da4e 100644 --- a/lib/gui/os/dialog.js +++ b/lib/gui/os/dialog.js @@ -57,9 +57,9 @@ exports.selectImage = () => { // // See: https://github.com/probonopd/AppImageKit/commit/1569d6f8540aa6c2c618dbdb5d6fcbf0003952b7 defaultPath: process.env.OWD, - properties: [ - 'openFile' + 'openFile', + 'treatPackageAsDirectory' ], filters: [ {