Allow obtaining system Pepper Flash path

This commit is contained in:
Brian R. Bondy 2016-06-08 16:37:27 -04:00
parent 82bee12c00
commit 352a9cd6f2
3 changed files with 5 additions and 0 deletions

View file

@ -41,6 +41,8 @@ app.on('ready', () => {
});
```
The path to the system wide Pepper Flash plugin can also be obtained by calling `app.getPath('pepperFlashSystemPlugin')`.
## Enable Flash Plugin in a `<webview>` Tag
Add `plugins` attribute to `<webview>` tag.