diff --git a/CHANGELOG.md b/CHANGELOG.md index dd782e9..2a51c04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.1.2](https://github.com/revanced/revanced-cli/compare/v1.1.1...v1.1.2) (2022-05-22) + + +### Bug Fixes + +* delete `outputFile` after deploying ([329f8a3](https://github.com/revanced/revanced-cli/commit/329f8a383fe52f4c2a66075d893c6599d3550bee)) + ## [1.1.1](https://github.com/revanced/revanced-cli/compare/v1.1.0...v1.1.1) (2022-05-22) diff --git a/gradle.properties b/gradle.properties index 8059873..319f142 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 1.1.1 +version = 1.1.2 diff --git a/src/main/kotlin/app/revanced/cli/MainCommand.kt b/src/main/kotlin/app/revanced/cli/MainCommand.kt index 2236fad..f46096a 100644 --- a/src/main/kotlin/app/revanced/cli/MainCommand.kt +++ b/src/main/kotlin/app/revanced/cli/MainCommand.kt @@ -87,11 +87,10 @@ internal object MainCommand : Runnable { Patcher.start(patcher) - if (clean) { - File(cacheDirectory).deleteRecursively() - outputFile.delete() - } + if (clean) File(cacheDirectory).deleteRecursively() adb?.deploy() + + if (clean) outputFile.delete() } -} \ No newline at end of file +}