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