parent
7d38384bdd
commit
4e747b56b0
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
在用户默认浏览器中打开URL的示例:
|
||||
|
||||
```javascript
|
||||
var shell = require('shell');
|
||||
const {shell} = require('electron');
|
||||
|
||||
shell.openExternal('https://github.com');
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue