mac: Implement the filters option.
This commit is contained in:
parent
dc257f1f86
commit
0721b34847
3 changed files with 47 additions and 11 deletions
|
@ -3,7 +3,10 @@ v8Util = process.atomBinding 'v8_util'
|
|||
BrowserWindow = require 'browser-window'
|
||||
|
||||
fileDialogProperties =
|
||||
openFile: 1, openDirectory: 2, multiSelections: 4, createDirectory: 8
|
||||
openFile: 1 << 0
|
||||
openDirectory: 1 << 1
|
||||
multiSelections: 1 << 2
|
||||
createDirectory: 1 << 3
|
||||
|
||||
messageBoxTypes = ['none', 'info', 'warning']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue