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 +}