this repo has no description
1import { Patch } from "@moonlight-mod/types";
2
3export const patches: Patch[] = [
4 {
5 find: /\.displayName="(Developer)?ExperimentStore"/,
6 replace: {
7 match: "window.GLOBAL_ENV.RELEASE_CHANNEL",
8 replacement: '"staging"'
9 }
10 },
11 {
12 find: '.displayName="DeveloperExperimentStore"',
13 replace: [
14 {
15 match: /CONNECTION_OPEN:.,OVERLAY_INITIALIZE:.,CURRENT_USER_UPDATE:./,
16 replacement: ""
17 },
18 {
19 match: '"production"',
20 replacement: '"development"'
21 },
22 {
23 match: /(get:function\(\){return .}}}\);).\(\);/,
24 replacement: "$1"
25 }
26 ]
27 }
28];