From 181766d6812261cce701f9c27c636e1c6b39cbd9 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 5 Jan 2025 10:09:42 -0700 Subject: [PATCH] Add Call Idling --- src/callIdling/index.ts | 11 +++++++++++ src/callIdling/manifest.json | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/callIdling/index.ts create mode 100644 src/callIdling/manifest.json diff --git a/src/callIdling/index.ts b/src/callIdling/index.ts new file mode 100644 index 0000000..b901e88 --- /dev/null +++ b/src/callIdling/index.ts @@ -0,0 +1,11 @@ +import { Patch } from "@moonlight-mod/types"; + +export const patches: Patch[] = [ + { + find: "CallIdleManager:", + replace: { + match: /CallIdleManager:{actions:\[".+?},/, + replacement: "" + } + } +]; diff --git a/src/callIdling/manifest.json b/src/callIdling/manifest.json new file mode 100644 index 0000000..46b04d4 --- /dev/null +++ b/src/callIdling/manifest.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://moonlight-mod.github.io/manifest.schema.json", + "id": "callIdling", + "version": "1.0.0", + "meta": { + "name": "Call Idling", + "tagline": "Disables auto-disconnect in empty calls", + "authors": [ + "Cynosphere" + ], + "tags": [ + "voice", + "qol" + ], + "source": "https://github.com/Cynosphere/moonlight-extensions" + }, + "apiLevel": 2 +}