mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
added app.setLocation
public handler
This commit is contained in:
parent
1c430df980
commit
96a20e3d3e
@ -116,6 +116,9 @@ class App extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
eventsHandlers = {
|
eventsHandlers = {
|
||||||
|
"app.setLocation": (location) => {
|
||||||
|
app.setLocation(location)
|
||||||
|
},
|
||||||
"app.close": () => {
|
"app.close": () => {
|
||||||
if (window.isElectron) {
|
if (window.isElectron) {
|
||||||
window.electron.ipcRenderer.invoke("app.close")
|
window.electron.ipcRenderer.invoke("app.close")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user