diff --git a/atom/browser/web_dialog_helper.cc b/atom/browser/web_dialog_helper.cc index b2827fdfd6f3..f39f77a64352 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;