added app.setLocation public handler

This commit is contained in:
SrGooglo 2022-12-13 12:23:33 +00:00
parent 1c430df980
commit 96a20e3d3e

View File

@ -116,6 +116,9 @@ class App extends React.Component {
}
eventsHandlers = {
"app.setLocation": (location) => {
app.setLocation(location)
},
"app.close": () => {
if (window.isElectron) {
window.electron.ipcRenderer.invoke("app.close")