mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 09:39:26 +01:00
fix(change-package-name): use null
as default value for option packageName
(#1998)
This commit is contained in:
parent
77de880dfb
commit
8128e6ba57
@ -5,7 +5,7 @@ import app.revanced.patcher.patch.Patch
|
|||||||
import app.revanced.patcher.util.patch.PatchBundle
|
import app.revanced.patcher.util.patch.PatchBundle
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
typealias PatchBundlePatches = List<Class<out Patch<Context>>>
|
internal typealias PatchBundlePatches = List<Class<out Patch<Context>>>
|
||||||
|
|
||||||
internal interface PatchesFileGenerator {
|
internal interface PatchesFileGenerator {
|
||||||
fun generate(bundle: PatchBundlePatches)
|
fun generate(bundle: PatchBundlePatches)
|
||||||
|
@ -41,7 +41,7 @@ class ChangePackageNamePatch : ResourcePatch {
|
|||||||
var packageName: String? by option(
|
var packageName: String? by option(
|
||||||
PatchOption.StringOption(
|
PatchOption.StringOption(
|
||||||
key = "packageName",
|
key = "packageName",
|
||||||
default = "",
|
default = null,
|
||||||
title = "Package name",
|
title = "Package name",
|
||||||
description = "The name of the package to rename of the app.",
|
description = "The name of the package to rename of the app.",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user