Commit 49500206 authored by vvb2060's avatar vvb2060 Committed by John Wu

Prevent dot in the first position again

parent 0a6140c6
...@@ -62,8 +62,8 @@ object HideAPK { ...@@ -62,8 +62,8 @@ object HideAPK {
} }
if (!builder.contains('.')) { if (!builder.contains('.')) {
// Pick a random index and set it as dot // Pick a random index and set it as dot
val idx = random.nextInt(len - 1) val idx = random.nextInt(len - 2)
builder[idx] = '.' builder[idx + 1] = '.'
} }
return builder.toString() return builder.toString()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment