mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
8 lines
200 B
JavaScript
8 lines
200 B
JavaScript
const { shell } = require('electron')
|
|
|
|
const exLinksBtn = document.getElementById('open-ex-links')
|
|
|
|
exLinksBtn.addEventListener('click', (event) => {
|
|
shell.openExternal('https://electronjs.org')
|
|
})
|