Merge pull request #2340 from atom/set_download_path_api

Implement setDownloadPath API.
This commit is contained in:
Cheng Zhao 2015-07-29 17:19:02 +08:00
commit 898a838ad7
11 changed files with 76 additions and 9 deletions

View file

@ -1239,3 +1239,10 @@ proxy-uri = [<proxy-scheme>"://"]<proxy-host>[":"<proxy-port>]
and use socks4://foopy2 for all other
URLs.
```
### Session.setDownloadPath(path)
* `path` String - The download location
Sets download saving directory. By default, the download directory will be the
`Downloads` under the respective app folder.