this repo has no description
1import { ExtensionWebExports } from "@moonlight-mod/types";
2import { Patch, PatchReplaceType } from "@moonlight-mod/types";
3
4export const patches: Patch[] = [
5 {
6 find: "profiledRootComponent:",
7 replace: {
8 type: PatchReplaceType.Normal,
9 match: /Z:\(\)=>\i/,
10 replacement: 'Z:()=>require("disableSentry_stub").proxy()'
11 }
12 },
13 {
14 find: "this._sentryUtils=",
15 replace: {
16 type: PatchReplaceType.Normal,
17 match: /(?<=this._sentryUtils=)./,
18 replacement: "undefined"
19 }
20 },
21 {
22 find: "window.DiscordErrors=",
23 replace: {
24 type: PatchReplaceType.Normal,
25 match: /(?<=uses_client_mods:)./,
26 replacement: "false"
27 }
28 }
29];
30
31export const webpackModules: ExtensionWebExports["webpackModules"] = {
32 stub: {}
33};