Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ jobs:

- name: Build
env:
GPR_USER: ${{ secrets.GPR_USER }}
GPR_TOKEN: ${{ secrets.GPR_TOKEN }}
run: ./gradlew build --no-daemon -Pgpr.user=${{ env.GPR_USER }} -Pgpr.key=${{ env.GPR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build --no-daemon
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:

- name: Build
env:
GPR_USER: ${{ secrets.GPR_USER }}
GPR_TOKEN: ${{ secrets.GPR_TOKEN }}
run: ./gradlew build clean -Pgpr.user=${{ env.GPR_USER }} -Pgpr.key=${{ env.GPR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew clean build

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [1.1.0-dev.2](https://github.com/MorpheApp/morphe-cli/compare/v1.1.0-dev.1...v1.1.0-dev.2) (2026-01-10)


### Bug Fixes

* Use patcher / library 1.0.1 release ([0ca02e9](https://github.com/MorpheApp/morphe-cli/commit/0ca02e920b9e3189ac2b3a18587f0fb9efd0de4e))

# [1.1.0-dev.1](https://github.com/MorpheApp/morphe-cli/compare/v1.0.0...v1.1.0-dev.1) (2026-01-02)


### Features

* add command option `unsigned` ([#20](https://github.com/MorpheApp/morphe-cli/issues/20)) ([4505091](https://github.com/MorpheApp/morphe-cli/commit/4505091624b854706b39656bae642e5dc1132dcd))

# 1.0.0 (2025-12-08)


Expand Down
681 changes: 669 additions & 12 deletions LICENSE

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
----------------------------

The project name "Morphe" may not be used for derivative works.
Derivatives must adopt a completely different identity that is not related
to or similar to the name "Morphe".
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Command-line application to use Morphe.

Morphe CLI is a command-line application that uses [Morphe Patcher](https://github.com/MorpheApp/morphe-patcher) to patch Android apps.

Morphe CLI is based off the prior work of [ReVanced](https://github.com/ReVanced/revanced-cli).
All modifications made by Morphe, along with their dates, can be found in the Git history.

## 💪 Features

Some of the features Morphe CLI provides are:
Expand Down Expand Up @@ -55,11 +58,11 @@ To build a Morphe CLI, you can follow the [documentation](/docs).

You can find the documentation of Morphe CLI [here](/docs).

## 📜 Licence
## 📜 License

Morphe Patches are licensed under the [GNU GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.html), with additional conditions under Section 7:
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 full terms.
See the [LICENSE](LICENSE) file for the full GPLv3 terms and the [NOTICE](NOTICE) file for full conditions of GPLv3 Section 7
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.parallel = true
org.gradle.caching = true
kotlin.code.style = official
version = 1.0.0
version = 1.1.0-dev.2
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ shadow = "8.3.9"
kotlin = "2.0.21"
kotlinx = "1.8.1"
picocli = "4.7.7"
morphe-patcher = "1.0.0"
morphe-library = "1.0.0"
morphe-patcher = "1.0.1"
morphe-library = "1.0.1"

[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
Expand Down
8 changes: 7 additions & 1 deletion src/main/kotlin/app/morphe/cli/command/PatchCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ internal object PatchCommand : Runnable {
this.aaptBinaryPath = aaptBinaryPath
}

@CommandLine.Option(
names = ["--unsigned"],
description = ["Disable signing of the final apk."],
)
private var unsigned: Boolean = false

override fun run() {
// region Setup

Expand Down Expand Up @@ -332,7 +338,7 @@ internal object PatchCommand : Runnable {
apk.copyTo(temporaryFilesPath.resolve(apk.name), overwrite = true).apply {
patcherResult.applyTo(this)
}.let { patchedApkFile ->
if (!mount) {
if (!mount && !unsigned) {
ApkUtils.signApk(
patchedApkFile,
outputFilePath,
Expand Down