2019-11-01 15:04:47 +00:00
|
|
|
const appInfoBtn = document.getElementById('app-info')
|
|
|
|
|
2023-08-14 08:04:29 +00:00
|
|
|
appInfoBtn.addEventListener('click', async () => {
|
2023-08-29 19:52:16 +00:00
|
|
|
const path = await window.electronAPI.getAppPath()
|
2019-11-01 15:04:47 +00:00
|
|
|
const message = `This app is located at: ${path}`
|
|
|
|
document.getElementById('got-app-info').innerHTML = message
|
|
|
|
})
|