chore: Adjust readme

This commit is contained in:
LisoUseInAIKyrios committed 2026-07-03 20:41:32 +03:00
1 parent 2e78aa467b
commit 280d989649
2 files changed
+18 -25

No files matched your search

+17 -25
View File
@@ -4,7 +4,8 @@ Template repository for Morphe Patches.
## ❓ About ## ❓ About
This is a template to create a new Morphe Patches repository. Patches for apps I like.
TODO: Update this about section with a brief introduction/summary about this repo and what it offers. TODO: Update this about section with a brief introduction/summary about this repo and what it offers.
## 🩹 Patches list ## 🩹 Patches list
@@ -18,7 +19,7 @@ TODO: Update this about section with a brief introduction/summary about this rep
If you wish to manually keep this list updated then remove the PATCHES_START and PATCHES_END If you wish to manually keep this list updated then remove the PATCHES_START and PATCHES_END
comment blocks entirely. --> comment blocks entirely. -->
#### A list of your patches will be automatically shown here after your first patches release is created. #### A list of your patches will automatically be shown here after your first patches release is created.
   
@@ -28,11 +29,10 @@ To start using this template, follow these steps:
1. [Setup](https://github.com/MorpheApp/morphe-documentation/blob/main/docs/morphe-development/README.md) your development environment including adding a GitHub PAT as described [here](https://github.com/MorpheApp/morphe-patcher/blob/main/docs/2_1_setup.md#-prepare-the-environment). 1. [Setup](https://github.com/MorpheApp/morphe-documentation/blob/main/docs/morphe-development/README.md) your development environment including adding a GitHub PAT as described [here](https://github.com/MorpheApp/morphe-patcher/blob/main/docs/2_1_setup.md#-prepare-the-environment).
2. [Create a new repository using this template](https://github.com/new?template_name=morphe-patches-template&template_owner=MorpheApp) 2. [Create a new repository using this template](https://github.com/new?template_name=morphe-patches-template&template_owner=MorpheApp)
3. Set up the [build.gradle.kts](patches/build.gradle.kts) file (Specifically, the 3. Update the [build.gradle.kts](patches/build.gradle.kts) file (Specifically, the
[group of the project](patches/build.gradle.kts#L1), and the [About](patches/build.gradle.kts#L5-L11)) [group of the project](patches/build.gradle.kts#L1), and the [About](patches/build.gradle.kts#L6-L11))
4. Set up the [README.md](README.md) file (e.g, title, description, license, 4. Update the [README.md](README.md) file to be specific of your repo, and update the links in the [issue templates](.github/ISSUE_TEMPLATE).
summary of the patches that are included in the repository), the [issue templates](.github/ISSUE_TEMPLATE). 5. Choose a name for your patches project. Keep in mind you must use a name that does not
5. Choose a name for your patches project. Keep in mind you must use a unique name that does not
imply authorship by the Morphe open source project. If unsure, then simply name these imply authorship by the Morphe open source project. If unsure, then simply name these
patches after yourself ("UserXYZ Morphe patches"). See the [NOTICE](NOTICE) for details. patches after yourself ("UserXYZ Morphe patches"). See the [NOTICE](NOTICE) for details.
6. (Optional): Add `patches-bundle.png` to the project if you want a custom icon to show in 6. (Optional): Add `patches-bundle.png` to the project if you want a custom icon to show in
@@ -42,18 +42,15 @@ To start using this template, follow these steps:
## 🧑‍💻 Usage ## 🧑‍💻 Usage
To develop and release Morphe Patches using this template, some things need to be considered: To develop and release your Patches using this template:
- Development starts in feature branches. Once a feature branch is ready, it is squashed and merged into the `dev` branch
- The `dev` branch is merged into the `main` branch once it is ready for release
- Semantic versioning is used to version Morphe Patches.
- [Semantic commit](https://kapeli.com/cheat_sheets/Semantic_Commits.docset/Contents/Resources/Documents/index) messages are used for commits
- Commits on the `dev` branch and `main` branch are automatically released
via the [release.yml](.github/workflows/release.yml) workflow, which is also responsible for generating the changelog
and updating the version of Morphe Patches. It is triggered by pushing to the `dev` or `main` branch.
The workflow uses the `publish` task to publish the release of Morphe Patches.
- The `buildAndroid` task is used to build Morphe Patches so that it can be used on Android.
- Do all development work in the `dev` branch.
- For local development work build your patches using the gradle task `./gradlew buildAndroid` to generate the mpp file found in `patches/build/libs/patches-*.mpp`. Apply your patches locally using Morphe CLI tool like any other patch bundle.
- Always use [Semantic commit](https://kapeli.com/cheat_sheets/Semantic_Commits.docset/Contents/Resources/Documents/index) messages for commits. To keep it simple use only 3 commit message types: `feat: Added a new feature`, `fix: Some problem now fixed`, `chore: Random change you do not want in the user facing changelog`
- Commits of `fix:` and `feat:` will automatically generate new pre-releases and `chore:` will not create a new release.
- Users can apply your dev branch releases by enabling `pre-release` in Morphe Manager patch sources.
- When your dev branch is ready and you want a stable release, merge dev branch to main (do not squash, and only merge).
- **Always use semantic release (release.yml)**. Do not manually upload or creating releases by hand because many files must be updated and release.yml handles everything.
## 🤓 Tips ## 🤓 Tips
- See the [patcher documentation](https://github.com/MorpheApp/morphe-patcher/blob/main/docs/1_patcher_intro.md) - See the [patcher documentation](https://github.com/MorpheApp/morphe-patcher/blob/main/docs/1_patcher_intro.md)
@@ -68,11 +65,6 @@ The workflow uses the `publish` task to publish the release of Morphe Patches.
- A new replacement release will be created by `release.yml` - A new replacement release will be created by `release.yml`
## 📚 Everything else
Optionally you can include a button/link in this readme that users can click to add your
patches to Morphe (update the links below after creating your new patches repo):
<!-- The patches end tag is intentionally placed here so the first release will cleanup <!-- The patches end tag is intentionally placed here so the first release will cleanup
this readme of all developer instructions above. --> this readme of all developer instructions above. -->
<!-- PATCHES_END --> <!-- PATCHES_END -->
@@ -85,9 +77,9 @@ Or manually add this repository url as a patch source in Morphe: https://github.
### 🛠️ Building ### 🛠️ Building
To build UserXYZ Morphe Patches, To build UserXYZ Patches,
you can follow the [Morphe documentation](https://github.com/MorpheApp/morphe-documentation). you can follow the [Morphe documentation](https://github.com/MorpheApp/morphe-documentation).
## 📜 License ## 📜 License
UserXYZ Morphe Patches are licensed under the [GNU General Public License v3.0](LICENSE) UserXYZ Patches are licensed under the [GNU General Public License v3.0](LICENSE)
+1
View File
@@ -1,6 +1,7 @@
group = "app.template" group = "app.template"
patches { patches {
// TODO: Update this section with your project details.
about { about {
name = "UserXYZ Patches" name = "UserXYZ Patches"
description = "Patches for apps I like" description = "Patches for apps I like"