Mark treatPackageAsDirectory as mac only

This commit is contained in:
Kevin Sawicki 2017-07-18 10:18:23 -07:00
parent b25a1d10a2
commit 908c1fdfa0

View file

@ -46,8 +46,8 @@ The `dialog` module has the following methods:
* `noResolveAliases` - Disable the automatic alias (symlink) path * `noResolveAliases` - Disable the automatic alias (symlink) path
resolution. Selected aliases will now return the alias path instead of resolution. Selected aliases will now return the alias path instead of
their target path. _macOS_ their target path. _macOS_
* `treatPackageAsDirectory` - Treats file package(for example Electron.app) * `treatPackageAsDirectory` - Treats packages, such as `.app` folders,
as a directory instead of file as a directory instead of a file. _macOS_
* `message` String (optional) _macOS_ - Message to display above input * `message` String (optional) _macOS_ - Message to display above input
boxes. boxes.
* `callback` Function (optional) * `callback` Function (optional)