mac: Add showHiddenFiles property for showOpenDialog
This commit is contained in:
parent
33e8d5e0aa
commit
f08ac07737
3 changed files with 10 additions and 6 deletions
|
@ -6,11 +6,12 @@ const v8Util = process.atomBinding('v8_util')
|
|||
|
||||
var includes = [].includes
|
||||
|
||||
var fileDialogProperties = {
|
||||
const fileDialogProperties = {
|
||||
openFile: 1 << 0,
|
||||
openDirectory: 1 << 1,
|
||||
multiSelections: 1 << 2,
|
||||
createDirectory: 1 << 3
|
||||
createDirectory: 1 << 3,
|
||||
showHiddenFiles: 1 << 4
|
||||
}
|
||||
|
||||
var messageBoxTypes = ['none', 'info', 'warning', 'error', 'question']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue