mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +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 = {
|
||||
"app.setLocation": (location) => {
|
||||
app.setLocation(location)
|
||||
},
|
||||
"app.close": () => {
|
||||
if (window.isElectron) {
|
||||
window.electron.ipcRenderer.invoke("app.close")
|
||||
|
Loading…
x
Reference in New Issue
Block a user