mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
update arRPC
This commit is contained in:
parent
2e73f587bf
commit
f84f94a768
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue