|
|
|
@ -28,7 +28,7 @@ export default definePlugin({
|
|
|
|
|
patches: [{
|
|
|
|
|
find: "Messages.ACTIVITY_SETTINGS",
|
|
|
|
|
replacement: {
|
|
|
|
|
match: /(?<=}\)([,;])(\i\.settings)\.forEach.+?(\i)\.push.+}\))/,
|
|
|
|
|
match: /(?<=}\)([,;])(\i\.settings)\.forEach.+?(\i)\.push.+}\)}\))/,
|
|
|
|
|
replace: (_, commaOrSemi, settings, elements) => "" +
|
|
|
|
|
`${commaOrSemi}${settings}?.[0]==="CHANGELOG"` +
|
|
|
|
|
`&&${elements}.push({section:"StartupTimings",label:"Startup Timings",element:$self.StartupTimingPage})`
|
|
|
|
|