Compare commits

..

6 Commits

Author SHA1 Message Date
semantic-release-bot
3bcee04a7d chore(release): 4.4.0-dev.2 [skip ci]
# [4.4.0-dev.2](https://github.com/ReVanced/revanced-cli/compare/v4.4.0-dev.1...v4.4.0-dev.2) (2023-12-18)

### Bug Fixes

* Add missing punctuation in command description ([8210351](821035107d))
2023-12-18 18:47:08 +00:00
oSumAtrIX
821035107d fix: Add missing punctuation in command description 2023-12-18 19:45:35 +01:00
oSumAtrIX
8becebaa42 docs: Fix spelling mistakes 2023-12-12 13:43:36 +01:00
oSumAtrIX
fe563fff93 build: Simplify enabling local build cache 2023-12-10 21:57:12 +01:00
semantic-release-bot
2d17459fa3 chore(release): 4.4.0-dev.1 [skip ci]
# [4.4.0-dev.1](https://github.com/ReVanced/revanced-cli/compare/v4.3.0...v4.4.0-dev.1) (2023-12-01)

### Features

* Log saved patched APK file path ([16109bd](16109bd8bc))
2023-12-01 22:54:26 +00:00
oSumAtrIX
16109bd8bc feat: Log saved patched APK file path 2023-12-01 23:53:17 +01:00
6 changed files with 26 additions and 10 deletions

View File

@@ -1,3 +1,17 @@
# [4.4.0-dev.2](https://github.com/ReVanced/revanced-cli/compare/v4.4.0-dev.1...v4.4.0-dev.2) (2023-12-18)
### Bug Fixes
* Add missing punctuation in command description ([8210351](https://github.com/ReVanced/revanced-cli/commit/821035107d7264580275f395e9e3fcef91394afd))
# [4.4.0-dev.1](https://github.com/ReVanced/revanced-cli/compare/v4.3.0...v4.4.0-dev.1) (2023-12-01)
### Features
* Log saved patched APK file path ([16109bd](https://github.com/ReVanced/revanced-cli/commit/16109bd8bc6236debf71cbc8db78fe452b2ed00d))
# [4.3.0](https://github.com/ReVanced/revanced-cli/compare/v4.2.0...v4.3.0) (2023-12-01) # [4.3.0](https://github.com/ReVanced/revanced-cli/compare/v4.2.0...v4.3.0) (2023-12-01)

View File

@@ -35,7 +35,7 @@ ReVanced CLI is divided into the following fundamental commands:
``` ```
> [!NOTE] > [!NOTE]
> A default `options.json` file will be automatically created, if it does not exist > A default `options.json` file will be automatically created if it does not exist
without any need for intervention when using the `patch` command. without any need for intervention when using the `patch` command.
- ### 💉 Patch an app - ### 💉 Patch an app
@@ -80,7 +80,7 @@ without any need for intervention when using the `patch` command.
- #### 👾 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 and mounting over is installed on your device: > Ensure that the same app you are patching and mounting over is installed on your device:
> >
> ```bash > ```bash
> adb install app.apk > adb install app.apk
@@ -91,14 +91,14 @@ without any need for intervention when using the `patch` command.
> patches by their index in relation to supplied patch bundles, > patches by their index in relation to supplied patch bundles,
> similarly to the option `--include` and `--exclude`. > similarly to the option `--include` and `--exclude`.
> >
> This is useful in case two patches have the same name, and you need to include or exclude one of them. > This is useful in case two patches have the same name, and you must include or exclude one.
> The index of a patch is calculated by the position of the patch in the list of patches > The patch index is calculated by the position of the patch in the list of patches
> from patch bundles supplied using the option `--patch-bundle`. > from patch bundles supplied using the option `--patch-bundle`.
> >
> You can list all patches with their indices using the command `list-patches`. > You can list all patches with their indices using the command `list-patches`.
> >
> Keep in mind, that the indices can change based on the order of the patch bundles supplied, > Keep in mind that the indices can change based on the order of the patch bundles supplied,
> as well if the patch bundles are updated, because patches can be added or removed. > as well if the patch bundles are updated because patches can be added or removed.
```bash ```bash
java -jar revanced-cli.jar patch \ java -jar revanced-cli.jar patch \
@@ -133,4 +133,4 @@ by adding the option `--unmount`.
> [!NOTE] > [!NOTE]
> You can mount an APK file > You can mount an APK file
> by supplying the package name of the app to mount the supplied APK file to over the option `--mount`. > by supplying the package name of the app to mount the supplied APK file over the option `--mount`.

View File

@@ -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.3.0 version = 4.4.0-dev.2

View File

@@ -2,6 +2,6 @@ rootProject.name = "revanced-cli"
buildCache { buildCache {
local { local {
isEnabled = !System.getenv().containsKey("CI") isEnabled = "CI" !in System.getenv()
} }
} }

View File

@@ -325,6 +325,8 @@ internal object PatchCommand : Runnable {
alignedFile.renameTo(outputFilePath) alignedFile.renameTo(outputFilePath)
} }
logger.info("Saved to $outputFilePath")
// endregion // endregion
// region Install // region Install

View File

@@ -4,7 +4,7 @@ import picocli.CommandLine
@CommandLine.Command( @CommandLine.Command(
name = "utility", name = "utility",
description = ["Commands for utility purposes"], description = ["Commands for utility purposes."],
subcommands = [InstallCommand::class, UninstallCommand::class], subcommands = [InstallCommand::class, UninstallCommand::class],
) )
internal object UtilityCommand internal object UtilityCommand