Skip to content

Fix treat packaged app as directory#9834

Merged
kevinsawicki merged 4 commits intoelectron:masterfrom
shubham2892:input-type-file-treating-packaged-app-as-directory
Jul 18, 2017
Merged

Fix treat packaged app as directory#9834
kevinsawicki merged 4 commits intoelectron:masterfrom
shubham2892:input-type-file-treating-packaged-app-as-directory

Conversation

@shubham2892
Copy link
Copy Markdown
Contributor

Fixes #8948
Added the flag that enables treating file packages as directories.


void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {
[dialog setCanChooseFiles:(properties & FILE_DIALOG_OPEN_FILE)];
[dialog setTreatsFilePackagesAsDirectories:YES];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubham2892 what do you think about making this an option instead of always on? Similar to how setResolveAliases support was added in #8617.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes adding the option instead of making it mandatory would be better. Made the changes.

@kevinsawicki kevinsawicki force-pushed the input-type-file-treating-packaged-app-as-directory branch from d85a802 to b25a1d1 Compare July 18, 2017 17:13
@kevinsawicki
Copy link
Copy Markdown
Contributor

Thanks for this @shubham2892 👍 🍎 🍏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants