2020-08-27 14:31:51 +00:00
|
|
|
const exLinksBtn = document.getElementById('open-ex-links')
|
|
|
|
const fileManagerBtn = document.getElementById('open-file-manager')
|
|
|
|
|
|
|
|
fileManagerBtn.addEventListener('click', (event) => {
|
2023-08-29 19:52:16 +00:00
|
|
|
window.electronAPI.openHomeDir()
|
2020-08-27 14:31:51 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
exLinksBtn.addEventListener('click', (event) => {
|
2023-08-29 19:52:16 +00:00
|
|
|
window.electronAPI.openExternal('https://electronjs.org')
|
2019-12-04 06:38:19 +00:00
|
|
|
})
|