update arRPC

This commit is contained in:
smartfrigde 2024-03-15 19:54:16 +01:00
parent 2e73f587bf
commit f84f94a768
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
const rgb = (r, g, b, msg) => `\x1b[38;2;${r};${g};${b}m${msg}\x1b[0m`; const rgb = (r, g, b, msg) => `\x1b[38;2;${r};${g};${b}m${msg}\x1b[0m`;
const log = (...args) => console.log(`[${rgb(88, 101, 242, "arRPC")}]`, ...args); const log = (...args) => console.log(`[${rgb(88, 101, 242, "arRPC")}]`, ...args);
log("arRPC v3.1.0 ArmCord"); log("arRPC v3.3.1 ArmCord");
const RPCServer = require("./server.js"); const RPCServer = require("./server.js");
const {mainWindow} = require("../../../ts-out/window.js"); const {mainWindow} = require("../../../ts-out/window.js");

View file

@ -35,7 +35,7 @@ class RPCServer extends EventEmitter {
socket.send({ socket.send({
cmd: "DISPATCH", cmd: "DISPATCH",
evt: "READY", evt: "READY",
nonce: 0, nonce: "initial-ready",
data: { data: {
v: 1, v: 1,