Skip to content

Commit

Permalink
idfk
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfkid200444 committed Jan 5, 2024
1 parent 49c304a commit 9dc24bb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions src/sampleExtension/index.tsx → src/globalBadges/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ import { ExtensionWebpackModule, Patch } from "@moonlight-mod/types";
*/
export const patches: Patch[] = [
{
find: '"USER_SETTINGS",',
replace: {
match: '"USER_SETTINGS","User Settings"',
replacement: '"USER_SETTINGS","hacked by sampleExtension lol"'
}
find: '"Messages.PROFILE_USER_BADGES,role:"',
replace: [
{
match: '/alt:" ","aria-hidden":!0,src:(?=(\i)\.src)/',
replacement: '"USER_SETTINGS","hacked by sampleExtension lol"'
}
]

}
];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"id": "sampleExtension",
"id": "globalBadges",
"version": "1.0.0",
"meta": {
"name": "Sample extension",
"name": "Global Badges",
"tagline": "A short tagline that appears below the name",
"description": "A longer description that can **use Markdown**",
"authors": ["You!"],
"source": "https://github.com/moonlight-mod/sample-extension"
"authors": ["Wolfie"],
"source": "https://github.com/WolfPlugs/globalBadges"
}
}
File renamed without changes.

0 comments on commit 9dc24bb

Please sign in to comment.