fished base communication between browser and chatterino

This commit is contained in:
fourtf
2018-04-12 01:17:25 +02:00
parent d3bbbafca7
commit b978977e7a
4 changed files with 56 additions and 29 deletions
-4
View File
@@ -114,12 +114,8 @@ void runNativeMessagingHost()
std::cin.read(b, size);
*(b + size) = '\0';
nmm.writeByteArray("{\"a\":1}");
nmm.sendToGuiProcess(QByteArray(b, size));
nmm.writeByteArray("{\"a\":2}");
free(b);
}
}