From 59cd3358790781a63a833802206218ef412bd1a7 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 3 Apr 2026 11:35:08 +0200 Subject: [PATCH 1/4] chore: Update to plugin 1.3.0 --- settings.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index a9030ae3e..e4cae305c 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -17,5 +17,5 @@ pluginManagement { } plugins { - id("app.morphe.patches") version "1.2.0" + id("app.morphe.patches") version "1.3.0" } From 5ae3329ee6d03fa5ee36bd96c90e28a18125bb3e Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 5 Apr 2026 18:52:26 +0200 Subject: [PATCH 2/4] chore: Add line breaks (no actual text changes) --- NOTICE | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/NOTICE b/NOTICE index d9fba89c5..415b959d2 100644 --- a/NOTICE +++ b/NOTICE @@ -11,11 +11,17 @@ https://www.gnu.org/licenses/gpl-3.0.html 7c. Project Name Restriction ---------------------------- -This license does not grant permission to use the name "Morphe", or any name, logo, or branding that is confusingly similar, as the name or primary identifying mark of any modified version, fork, or derivative work. +This license does not grant permission to use the name "Morphe", or any +name, logo, or branding that is confusingly similar, as the name or +primary identifying mark of any modified version, fork, or derivative work. -Any redistribution or derivative work must adopt a distinct name and branding that clearly differentiates it from the Morphe project and does not cause confusion as to source or origin. +Any redistribution or derivative work must adopt a distinct name and +branding that clearly differentiates it from the Morphe project and does +not cause confusion as to source or origin. -References to Morphe are permitted solely for descriptive compatibility purposes (e.g., "compatible with Morphe" or "XYZ patches for use with Morphe"), provided that such references: +References to Morphe are permitted solely for descriptive compatibility +purposes (e.g., "compatible with Morphe" or "XYZ patches for use with Morphe"), +provided that such references: - Are accurate, factual, and non-misleading; - Do not suggest authorship by the Morphe project; and From 5f1fda2a09276d2cfab86791b1d8524521649bed Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:08:13 +0200 Subject: [PATCH 3/4] chore: Simplify preface text that should be obvious and needs no introduction since the prior project never used the name Morphe --- NOTICE | 7 ------- 1 file changed, 7 deletions(-) diff --git a/NOTICE b/NOTICE index 415b959d2..340889b2d 100644 --- a/NOTICE +++ b/NOTICE @@ -1,13 +1,6 @@ Morphe NOTICE ============= -This file contains Section 7 notices of the GNU General Public License v3 -as they apply to Morphe code. These notices apply to all code authored by -Morphe, including any modifications of code that may have originated -outside this repository, and do not change the terms of the GPLv3 license. -For the full license text, see the LICENSE file or: -https://www.gnu.org/licenses/gpl-3.0.html - 7c. Project Name Restriction ---------------------------- From 04995760a37600c497f0e7047e8edf51dbf41fa4 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:11:52 +0200 Subject: [PATCH 4/4] chore: Add some tips, suggest for users to name the patches after themselves if they don't want to pick a name --- README.md | 43 ++++++++++++++++++++++++---------------- patches/build.gradle.kts | 8 ++++---- 2 files changed, 30 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index a2bf9a05b..72778a461 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,7 @@ Template repository for Morphe Patches.   ## ❓ About -This is a template to create a new Morphe Patches repository. -The repository can have multiple patches, and patches from other repositories can be used together. - -For an example repository, see [Morphe Patches](https://github.com/MorpheApp/morphe-patches). +This is a template to create a new Morphe Patches repository. Morphe Patches template is based off the prior work of [ReVanced](https://github.com/ReVanced/revanced-patches-template). All modifications made by Morphe, along with their dates, can be found in the Git history. @@ -19,12 +16,13 @@ All modifications made by Morphe, along with their dates, can be found in the Gi To start using this template, follow these steps: 1. [Create a new repository using this template](https://github.com/new?template_name=morphe-patches-template&template_owner=MorpheApp) -2. Set up 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)) +2. Set up 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)) 3. Set up the [README.md](README.md) file[^1] (e.g, title, description, license, summary of the patches that are included in the repository), the [issue templates](.github/ISSUE_TEMPLATE)[^2] and the [contribution guidelines](CONTRIBUTING.md)[^3] -4. Choose a name for your patches project. Keep in mind you must use a unique name that does not imply or suggest authorship by the Morphe open source project. - See the [NOTICE](NOTICE) for details. +4. Choose a name for your patches project. Keep in mind you must use a unique name that does not + imply or suggest 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. 5. (Optional): Add `patches-bundle.png` to the project if you want a custom icon to show in Morphe Manager instead of your GitHub profile avatar. @@ -41,10 +39,26 @@ To develop and release Morphe Patches using this template, some things need to b - 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 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. The `publish` task depends on the `buildAndroid` task, so it will be run automatically when publishing a release. + +## 🤓 Tips +- See the [patcher documentation](https://github.com/MorpheApp/morphe-patcher/blob/main/docs/1_patcher_intro.md) + for more examples of creating patches and fingerprints. +- Do not manually edit any generated files such as: `patches-list.json`, `patches-bundle.json`, `CHANGELOG.md`. + These files will be automatically updated in the release action. +- Do not force push any semantic release commits, or you will break the release. To 'redo' the last release then: + - Git drop the last dev/main semantic release commit you want to redo. + - Delete the release from the release area of this repo and delete the tag + - Make any other changes you wish to do + - Force push dev/main branch + - A new replacement release will be created by `release.yml` +- Do not manually edit any generated files: `patches-list.json`, `patches-bundle.json`, `CHANGELOG.md`. + These files will be automatically updated by `release.yml` + + ## 📚 Everything else Optionally you can include a button/link in this readme that users can click to add your @@ -58,19 +72,14 @@ Or manually add this repository url as a patch source in Morphe: https://github. ### 📙 Contributing -Thank you for considering contributing to Morphe Patches template. +Thank you for considering contributing to UserXYZ Morphe Patches template. You can find the contribution guidelines [here](CONTRIBUTING.md). ### 🛠️ Building -To build Morphe Patches template, +To build UserXYZ Morphe Patches template, you can follow the [Morphe documentation](https://github.com/MorpheApp/morphe-documentation). ## 📜 License -Morphe Patches are licensed under the [GNU General Public License v3.0](LICENSE), with additional conditions under GPLv3 Section 7: - -- **Name Restriction (7c):** The name **"Morphe"** may not be used for derivative works. - Derivatives must adopt a distinct identity unrelated to "Morphe." - -See the [LICENSE](LICENSE) file for the full GPLv3 terms and the [NOTICE](NOTICE) file for full conditions of GPLv3 Section 7 +UserXYZ Morphe Patches are licensed under the [GNU General Public License v3.0](LICENSE) diff --git a/patches/build.gradle.kts b/patches/build.gradle.kts index 5d7961f8e..cde525651 100644 --- a/patches/build.gradle.kts +++ b/patches/build.gradle.kts @@ -1,13 +1,13 @@ -group = "app.morphe" +group = "app.template" patches { about { - name = "XYZ Patches for use with Morphe" - description = "Example patches" + name = "UserXYZ Morphe Patches" + description = "Patches for apps I like" source = "git@github.com:MorpheApp/morphe-patches-template.git" author = "Awesome dev" contact = "na" - website = "https://morphe.software" + website = "na" license = "GPLv3" } }