mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-17 08:24:00 +00:00
Compare commits
3 Commits
v4.0.2-dev
...
v4.0.2-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b04b6790b | ||
|
|
59dfc988e3 | ||
|
|
b01fef730a |
@@ -1,3 +1,10 @@
|
|||||||
|
## [4.0.2-dev.3](https://github.com/ReVanced/revanced-cli/compare/v4.0.2-dev.2...v4.0.2-dev.3) (2023-10-10)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Move file to output even when mounting ([59dfc98](https://github.com/ReVanced/revanced-cli/commit/59dfc988e351374eb718923d19bd9bdd94e8d3c0))
|
||||||
|
|
||||||
## [4.0.2-dev.2](https://github.com/ReVanced/revanced-cli/compare/v4.0.2-dev.1...v4.0.2-dev.2) (2023-10-10)
|
## [4.0.2-dev.2](https://github.com/ReVanced/revanced-cli/compare/v4.0.2-dev.1...v4.0.2-dev.2) (2023-10-10)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ ReVanced CLI is divided into the following fundamental commands:
|
|||||||
- #### 👾 Patch an app and mount it on top of the un-patched app with root permissions
|
- #### 👾 Patch an app and mount it on top of the un-patched app with root permissions
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Ensure sure the same app you are patching is installed on your device:
|
> Ensure sure the same app you are patching and mounting over is installed on your device:
|
||||||
>
|
>
|
||||||
> ```bash
|
> ```bash
|
||||||
> adb install app.apk
|
> adb install app.apk
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
org.gradle.caching = true
|
org.gradle.caching = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 4.0.2-dev.2
|
version = 4.0.2-dev.3
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ internal object PatchCommand : Runnable {
|
|||||||
|
|
||||||
// region Save
|
// region Save
|
||||||
|
|
||||||
val tempFile = resourceCachePath.resolve(apk.name).apply {
|
val alignedFile = resourceCachePath.resolve(apk.name).apply {
|
||||||
ApkUtils.copyAligned(apk, this, patcherResult)
|
ApkUtils.copyAligned(apk, this, patcherResult)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ internal object PatchCommand : Runnable {
|
|||||||
.resolve("${outputFilePath.nameWithoutExtension}.keystore")
|
.resolve("${outputFilePath.nameWithoutExtension}.keystore")
|
||||||
|
|
||||||
if (!mount) ApkUtils.sign(
|
if (!mount) ApkUtils.sign(
|
||||||
tempFile,
|
alignedFile,
|
||||||
outputFilePath,
|
outputFilePath,
|
||||||
ApkUtils.SigningOptions(
|
ApkUtils.SigningOptions(
|
||||||
keystoreFilePath,
|
keystoreFilePath,
|
||||||
@@ -255,6 +255,7 @@ internal object PatchCommand : Runnable {
|
|||||||
signer
|
signer
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
else alignedFile.renameTo(outputFilePath)
|
||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user