From c4942d931c749869a63b3d26616c9a870fbb5512 Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Fri, 15 Jun 2018 22:51:38 +0200 Subject: [PATCH] Add FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY to web open file dialog (#13220) --- atom/browser/web_dialog_helper.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/browser/web_dialog_helper.cc b/atom/browser/web_dialog_helper.cc index b2827fdfd6..f39f77a643 100644 --- a/atom/browser/web_dialog_helper.cc +++ b/atom/browser/web_dialog_helper.cc @@ -222,6 +222,7 @@ void WebDialogHelper::RunFileChooser( flags |= file_dialog::FILE_DIALOG_MULTI_SELECTIONS; case content::FileChooserParams::Open: flags |= file_dialog::FILE_DIALOG_OPEN_FILE; + flags |= file_dialog::FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY; break; case content::FileChooserParams::UploadFolder: flags |= file_dialog::FILE_DIALOG_OPEN_DIRECTORY;