Add silent and savePath options.

This commit is contained in:
Haojian Wu 2015-06-10 13:18:41 +08:00
parent 6e099af5fe
commit ab40da3f31
3 changed files with 34 additions and 15 deletions

View file

@ -89,6 +89,7 @@ wrapWebContents = (webContents) ->
collate:true,
shouldPrintBackgrounds:false,
shouldPrintSelectionOnly:false
silent:false
if options.landscape
printingSetting.landscape = options.landscape