From 001cb8d73ae6e814530dde69c3a0f53a2eca4425 Mon Sep 17 00:00:00 2001
From: MarcaDian <152095496+MarcaDian@users.noreply.github.com>
Date: Mon, 26 Oct 2026 10:35:16 +0200
Subject: [PATCH 1/9] chore: Sign releases with an optional signing key
---
.github/workflows/release.yml | 1 +
.gitignore | 4 ++++
.releaserc | 3 ++-
README.md | 8 ++++++++
package-lock.json | 2 +-
settings.gradle.kts | 2 +-
6 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9cbc94b4b..e399afaae 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -41,6 +41,7 @@ jobs:
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ MORPHE_SIGNING_KEY: ${{ secrets.MORPHE_SIGNING_KEY }}
- name: Attest
if: steps.release.outputs.new_release_published == 'true'
diff --git a/.gitignore b/.gitignore
index 873dbb7c1..7187b5d21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+### Morphe
+# Private key that signs the patches file
+morphe-signing.key
+
### Java template
# Compiled class file
*.class
diff --git a/.releaserc b/.releaserc
index b386cb137..332cf7089 100644
--- a/.releaserc
+++ b/.releaserc
@@ -37,7 +37,8 @@
"releaseJson": {
"path": "patches-bundle.json",
"downloadUrlTemplate": "https://github.com/${owner}/${repo}/releases/download/v${version}/patches-${version}.mpp",
- "signatureUrlTemplate": ""
+ "signatureUrlTemplate": "",
+ "publicKeyPath": "morphe-signing.pub"
}
}
],
diff --git a/README.md b/README.md
index f383b0235..3da109f58 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,14 @@ To start using this template, follow these steps:
patches after yourself ("UserXYZ Morphe patches"). See the [NOTICE](NOTICE) for details.
7. (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.
+8. (Optional): Sign your releases, so Morphe Manager refuses a release that was changed or swapped after you published it:
+ 1. Run `./gradlew generateSigningKey`. It creates `morphe-signing.pub` and `morphe-signing.key`.
+ 2. Commit `morphe-signing.pub`. Never commit `morphe-signing.key`, it is already ignored by git.
+ 3. Add the content of `morphe-signing.key` as the `MORPHE_SIGNING_KEY` secret in your repo
+ Settings > Secrets and variables > Actions, then keep a backup of it somewhere safe and delete the file.
+
+ Every release is signed from then on. If you lose the key or it leaks, create a new one the same way;
+ users then have to confirm the new key in Morphe Manager before they get your next release.
🎉 You are now ready to start creating patches!
diff --git a/package-lock.json b/package-lock.json
index 2a1160357..4fb87809c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -121,7 +121,7 @@
},
"node_modules/@MorpheApp/changelog": {
"version": "0.0.1",
- "resolved": "git+ssh://git@github.com/MorpheApp/changelog.git#caa1e931730f097bb6c4dee636b01c2c24ccd72d",
+ "resolved": "git+ssh://git@github.com/MorpheApp/changelog.git#11c6c7257d02be913db9b3e62e559598714caaf6",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 5935791d4..5fb524ac5 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -17,5 +17,5 @@ pluginManagement {
}
plugins {
- id("app.morphe.patches") version "2.0.0"
+ id("app.morphe.patches") version "2.1.0-dev.1"
}
From ab428a05c5278976c204e4422f91665773c3e039 Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Mon, 26 Oct 2026 10:05:37 +0000
Subject: [PATCH 2/9] chore: Use SVG button for add to morphe like website
shows
---
.github/assets/add-to-morphe.svg | 11 +++++++++++
README.md | 6 +++++-
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 .github/assets/add-to-morphe.svg
diff --git a/.github/assets/add-to-morphe.svg b/.github/assets/add-to-morphe.svg
new file mode 100644
index 000000000..0fa396f70
--- /dev/null
+++ b/.github/assets/add-to-morphe.svg
@@ -0,0 +1,11 @@
+
diff --git a/README.md b/README.md
index 3da109f58..a3189772e 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,11 @@ Patches for apps I like.
### How to use these patches
-Click here to add these patches to Morphe: https://morphe.software/add-source?github=xyz-user/xyz-patches
+Click the button below, or manually add this repo url to Morphe Manager: https://github.com/xyz-user/xyz-patches
+
+
+
+
## 🩹 Patches list
From 0392b51264399bb97c3c43f7cd588e5949560716 Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Mon, 26 Oct 2026 10:11:46 +0000
Subject: [PATCH 3/9] chore: Include package name in readme generator
---
.github/scripts/generate_patches_readme.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/scripts/generate_patches_readme.py b/.github/scripts/generate_patches_readme.py
index 2d7525003..abcba2aeb 100644
--- a/.github/scripts/generate_patches_readme.py
+++ b/.github/scripts/generate_patches_readme.py
@@ -60,7 +60,7 @@ def pkg_label(name, form_factor):
# The same package name can be used by different apps for each form factor.
# JSON structure: compatiblePackages is a list of objects with
# { packageName, name, formFactor, targets: [{ version, isExperimental, description }] }
-by_pkg = {} # (packageName, formFactor) -> { name, emoji, patches, targets }
+by_pkg = {} # (packageName, formFactor) -> { name, package, emoji, patches, targets }
universal = {}
for patch in data["patches"]:
@@ -78,6 +78,7 @@ for patch in data["patches"]:
if key not in by_pkg:
by_pkg[key] = {
"name": pkg_label(name, form_factor),
+ "package": pkg,
"emoji": pkg_emoji(form_factor),
"patches": {},
"targets": pkg_entry.get("targets", []),
@@ -143,19 +144,20 @@ def versions_table(targets):
return "\n".join(rows)
-def spoiler(label, count, targets, tbl, expanded=False):
+def spoiler(label, package, count, targets, tbl, expanded=False):
"""Wrap a patches table in a spoiler with a versions sub-table.
If expanded=True, the spoiler is open by default (for repos with few patches).
"""
noun = "patch" if count == 1 else "patches"
vtbl = versions_table(targets)
+ package_line = f"**Package name:** `{package}`\n\n"
versions_section = f"**🎯 Supported versions:**\n\n{vtbl}\n\n" if vtbl else ""
tag = "" if expanded else ""
return f"""{tag}
{label} • {count} {noun}
-{versions_section}{tbl}
+{package_line}{versions_section}{tbl}
"""
@@ -172,7 +174,7 @@ def build_content(expanded=False):
for entry in by_pkg.values():
patches = list(entry["patches"].values())
label = f"{entry['emoji']} {entry['name']}"
- lines.append(spoiler(label, len(patches), entry["targets"], patches_table(patches), expanded))
+ lines.append(spoiler(label, entry["package"], len(patches), entry["targets"], patches_table(patches), expanded))
lines.append("")
# Universal patches (no specific app)
From 4d0b509a56fc9863f09c464edfb83ae36606ffc6 Mon Sep 17 00:00:00 2001
From: MarcaDian <152095496+MarcaDian@users.noreply.github.com>
Date: Mon, 26 Oct 2026 12:39:50 +0200
Subject: [PATCH 4/9] chore: Update the changelog plugin
---
package-lock.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package-lock.json b/package-lock.json
index 4fb87809c..d26dc2237 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -121,7 +121,7 @@
},
"node_modules/@MorpheApp/changelog": {
"version": "0.0.1",
- "resolved": "git+ssh://git@github.com/MorpheApp/changelog.git#11c6c7257d02be913db9b3e62e559598714caaf6",
+ "resolved": "git+ssh://git@github.com/MorpheApp/changelog.git#f3d88b22e0276c44e76907bed292f3cdd96873f9",
"dev": true,
"license": "MIT",
"dependencies": {
From a931a6943746c1a56f228bc045aa434e33692716 Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Mon, 26 Oct 2026 15:24:39 +0000
Subject: [PATCH 5/9] chore: Update dependencies
---
.github/workflows/release.yml | 2 +-
gradle/libs.versions.toml | 2 +-
gradle/wrapper/gradle-wrapper.properties | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e399afaae..23468ef59 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,7 +37,7 @@ jobs:
# Semantic release runs its own Gradle build command.
# Only dev and main branch will generate a release as specified by .releaserc
- name: Release
- uses: cycjimmy/semantic-release-action@v6
+ uses: cycjimmy/semantic-release-action@v8
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 1067fae63..3fe9fad6a 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
-morphe-patcher = "2.0.0"
+morphe-patcher = "2.0.1"
#noinspection GradleDependency
smali = "4220ae75f7"
gson = "2.14.0"
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a78c88e53..5907d39c3 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionSha256Sum=dce76f55f8e251a3a1f130eb120f30b3d271de2b76c9b0729d316b5a1b6dc01f
-distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.1-bin.zip
+distributionSha256Sum=21bd5da2de49b642904077f38c0efdc7778e92b3ed0889392dca61b97e389607
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
From 3d9788e1aeff55dc8837fd186c992c1605da8a19 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 27 Oct 2026 11:01:59 +0100
Subject: [PATCH 6/9] chore(deps-dev): Bump handlebars from 4.7.9 to 4.7.10
(#70)
---
package-lock.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d26dc2237..42df18d3e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1823,13 +1823,13 @@
}
},
"node_modules/handlebars": {
- "version": "4.7.9",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz",
- "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==",
+ "version": "4.7.10",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.10.tgz",
+ "integrity": "sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "minimist": "^1.2.5",
+ "minimist": "^1.2.8",
"neo-async": "^2.6.2",
"source-map": "^0.6.1",
"wordwrap": "^1.0.0"
From fd6ed4eddb58377edb5123a1416a5d30bdaa88e7 Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Thu, 29 Oct 2026 08:46:49 +0000
Subject: [PATCH 7/9] chore: Breaking changes should bump patches version
---
.releaserc | 1 +
1 file changed, 1 insertion(+)
diff --git a/.releaserc b/.releaserc
index 332cf7089..c55c1910c 100644
--- a/.releaserc
+++ b/.releaserc
@@ -10,6 +10,7 @@
[
"@semantic-release/commit-analyzer", {
"releaseRules": [
+ { "breaking": true, "release": "major" },
{ "type": "fix", "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "bump", "release": "patch" },
From 5457dbcd176e543a906ce09411394c5755d17b9f Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Fri, 30 Oct 2026 11:59:13 +0000
Subject: [PATCH 8/9] chore: Update patcher dependency
---
gradle/libs.versions.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 3fe9fad6a..cc58a154f 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
-morphe-patcher = "2.0.1"
+morphe-patcher = "2.1.0"
#noinspection GradleDependency
smali = "4220ae75f7"
gson = "2.14.0"
From ea13a71e23ec28d181ce9dae3027a0dc104dc5f4 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 30 Oct 2026 13:05:52 +0100
Subject: [PATCH 9/9] chore(deps): Bump undici (#71)
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 42df18d3e..5e2d0ab40 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -47,9 +47,9 @@
}
},
"node_modules/@actions/http-client/node_modules/undici": {
- "version": "6.29.0",
- "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.0.tgz",
- "integrity": "sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==",
+ "version": "6.29.1",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz",
+ "integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5635,9 +5635,9 @@
}
},
"node_modules/undici": {
- "version": "7.30.0",
- "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz",
- "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==",
+ "version": "7.30.1",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.1.tgz",
+ "integrity": "sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==",
"dev": true,
"license": "MIT",
"engines": {