1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

refactoring

This commit is contained in:
Andrew Simachev 2023-08-25 13:04:30 +02:00
parent dacd56b82f
commit 7d3efc3d15
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
5 changed files with 56 additions and 68 deletions

View file

@ -311,7 +311,7 @@ func parseMessage(msg []byte) {
}
switch iMsg.Type {
case "NMHGetOpenPorts":
case "getPorts":
// Get open ports
openPorts, err := getOpenPorts()
@ -320,7 +320,7 @@ func parseMessage(msg []byte) {
} else {
oMsg.Response = openPorts
}
case "NMHStartApplication":
case "launchApp":
// Start application
pid, err := startApplication()
if err != nil {