mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04: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')
|
|
})
|