10 lines
335 B
JavaScript
10 lines
335 B
JavaScript
const exLinksBtn = document.getElementById('open-ex-links')
|
|
const fileManagerBtn = document.getElementById('open-file-manager')
|
|
|
|
fileManagerBtn.addEventListener('click', (event) => {
|
|
window.electronAPI.openHomeDir()
|
|
})
|
|
|
|
exLinksBtn.addEventListener('click', (event) => {
|
|
window.electronAPI.openExternal('https://electronjs.org')
|
|
})
|