mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-04 06:34:24 +02:00
20 lines
704 B
Kotlin
20 lines
704 B
Kotlin
package app.revanced.patcher
|
|
|
|
import java.io.File
|
|
|
|
/**
|
|
* Options for a patcher.
|
|
* @param inputFile The input file (usually an apk file).
|
|
* @param resourceCacheDirectory Directory to cache resources.
|
|
* @param patchResources Weather to use the resource patcher. Resources will still need to be decoded.
|
|
* @param aaptPath Optional path to a custom aapt binary.
|
|
* @param frameworkFolderLocation Optional path to a custom framework folder.
|
|
*/
|
|
data class PatcherOptions(
|
|
internal val inputFile: File,
|
|
internal val resourceCacheDirectory: String,
|
|
internal val patchResources: Boolean = false,
|
|
internal val aaptPath: String = "",
|
|
internal val frameworkFolderLocation: String? = null
|
|
)
|