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=){.+?}}/, 10 replacement: 'require("disableSentry_stub").proxy()' 11 } 12 }, 13 { 14 find: "window.DiscordSentry.addBreadcrumb", 15 replace: { 16 type: PatchReplaceType.Normal, 17 match: /Z:function\(\){return .}/, 18 replacement: 19 'default:function(){return (...args)=>{moonlight.getLogger("disableSentry").debug("Sentry calling addBreadcrumb passthrough:", ...args);}}' 20 } 21 }, 22 { 23 find: "window.DiscordErrors=", 24 replace: { 25 type: PatchReplaceType.Normal, 26 match: /(?<=uses_client_mods:)./, 27 replacement: "false" 28 } 29 } 30]; 31 32export const webpackModules: ExtensionWebExports["webpackModules"] = { 33 stub: {} 34};