mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-04 22:44:24 +02:00
chore: merge branch dev
to main
(#235)
This commit is contained in:
commit
9e4ffabd5c
@ -1,3 +1,10 @@
|
|||||||
|
## [15.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0...v15.0.1-dev.1) (2023-09-20)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Remove log management ([d51bc32](https://github.com/ReVanced/revanced-patcher/commit/d51bc32e37a865194c3825471085b3ccf8c78421))
|
||||||
|
|
||||||
# [15.0.0](https://github.com/ReVanced/revanced-patcher/compare/v14.2.2...v15.0.0) (2023-09-18)
|
# [15.0.0](https://github.com/ReVanced/revanced-patcher/compare/v14.2.2...v15.0.0) (2023-09-18)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 = 15.0.0
|
version = 15.0.1-dev.1
|
||||||
|
@ -9,8 +9,6 @@ import kotlinx.coroutines.flow.flow
|
|||||||
import java.io.Closeable
|
import java.io.Closeable
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.util.function.Supplier
|
import java.util.function.Supplier
|
||||||
import java.util.logging.Level
|
|
||||||
import java.util.logging.LogManager
|
|
||||||
import java.util.logging.Logger
|
import java.util.logging.Logger
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,18 +28,6 @@ class Patcher(
|
|||||||
val context = PatcherContext(options)
|
val context = PatcherContext(options)
|
||||||
|
|
||||||
init {
|
init {
|
||||||
LogManager.getLogManager().let { manager ->
|
|
||||||
// Disable root logger.
|
|
||||||
manager.getLogger("").level = Level.OFF
|
|
||||||
|
|
||||||
// Enable ReVanced logging only.
|
|
||||||
manager.loggerNames
|
|
||||||
.toList()
|
|
||||||
.filter { it.startsWith("app.revanced") }
|
|
||||||
.map { manager.getLogger(it) }
|
|
||||||
.forEach { it.level = Level.INFO }
|
|
||||||
}
|
|
||||||
|
|
||||||
context.resourceContext.decodeResources(ResourceContext.ResourceDecodingMode.MANIFEST_ONLY)
|
context.resourceContext.decodeResources(ResourceContext.ResourceDecodingMode.MANIFEST_ONLY)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ class BytecodeContext internal constructor(private val options: PatcherOptions)
|
|||||||
internal inner class Integrations : MutableList<File> by mutableListOf(), Flushable {
|
internal inner class Integrations : MutableList<File> by mutableListOf(), Flushable {
|
||||||
/**
|
/**
|
||||||
* Whether to merge integrations.
|
* Whether to merge integrations.
|
||||||
* True when any supplied [Patch] is annotated with [RequiresIntegrations].
|
* Set to true, if the field requiresIntegrations of any supplied [Patch] is true.
|
||||||
*/
|
*/
|
||||||
var merge = false
|
var merge = false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user