Skip to content

Commit b36dd26

Browse files
committed
Add CCModManager badge to README.md
1 parent aa4a73a commit b36dd26

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Added new mod option field `noNamePadding` that disables the padding after the option name
1010
- `INPUT_FIELD` can now have a name
1111
- Added optional `onInit` and `onDeinit` functions to visible mod options
12+
- Added CCModManager badge to README.md
1213

1314
### Changed
1415

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ Read the in-game manual in the help menu for usage instructions.
1515

1616
# For mod developers
1717

18+
## Badge
19+
20+
You can attach this image at the top of your mod's `README.md`:
21+
22+
![CCModManager badge](./icon/badge.png)
23+
24+
Markdown code:
25+
```markdown
26+
[![CCModManager badge](https://raw.githubusercontent.com/CCDirectLink/CCModManager/refs/heads/master/icon/badge.png)](https://github.com/CCDirectLink/CCModManager)
27+
```
28+
29+
# Custom mod options
30+
1831
You can define custom options pages for your own mod.
1932
See full example below.
2033

icon/badge.png

2.08 KB
Loading

pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for file in $(find . -iname '*.json') $(find . -iname '*.json.patch') $(find . -
1414
jq '.' ../$file -c > $file
1515
done
1616
cp ../ccmod.json .
17-
rm -rf icon/icon240.png
17+
rm -rf icon/icon240.png icon/badge.png
1818
LIST="$(find . -name '*.kra') $(find . -name '*~')"
1919
rm -rf $LIST
2020
zip -r "../$NAME" .

0 commit comments

Comments
 (0)