mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 06:14:25 +02:00
unique json file name
This commit is contained in:
parent
27648db5a0
commit
fd0ef31cb3
@ -72,6 +72,7 @@ public class TableBlockJson {
|
|||||||
}
|
}
|
||||||
private String getFileName(TypeBlock typeBlock){
|
private String getFileName(TypeBlock typeBlock){
|
||||||
StringBuilder builder=new StringBuilder();
|
StringBuilder builder=new StringBuilder();
|
||||||
|
builder.append(String.format("%03d-", typeBlock.getIndex()));
|
||||||
builder.append(String.format("0x%02x", typeBlock.getTypeId()));
|
builder.append(String.format("0x%02x", typeBlock.getTypeId()));
|
||||||
String name= typeBlock.getTypeName();
|
String name= typeBlock.getTypeName();
|
||||||
builder.append('-').append(name);
|
builder.append('-').append(name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user