mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-01 06:34:26 +02:00
sanitize package name
This commit is contained in:
parent
7bfe571841
commit
96af0cb6d2
@ -83,7 +83,7 @@ public class TableBlockJson {
|
|||||||
builder.append(String.format("0x%02x", packageBlock.getId()));
|
builder.append(String.format("0x%02x", packageBlock.getId()));
|
||||||
builder.append("-");
|
builder.append("-");
|
||||||
builder.append(packageBlock.getIndex());
|
builder.append(packageBlock.getIndex());
|
||||||
String name= packageBlock.getName();
|
String name= ApkUtil.sanitizeForFileName(packageBlock.getName());
|
||||||
if(name!=null){
|
if(name!=null){
|
||||||
builder.append('-');
|
builder.append('-');
|
||||||
builder.append(name);
|
builder.append(name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user