You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Download to proper filename
This commit is contained in:
@@ -70,12 +70,6 @@ object Utils {
|
||||
return info.loadLabel(pm).toString()
|
||||
}
|
||||
|
||||
fun getLegalFilename(filename: CharSequence): String {
|
||||
return filename.toString().replace(" ", "_").replace("'", "").replace("\"", "")
|
||||
.replace("$", "").replace("`", "").replace("*", "").replace("/", "_")
|
||||
.replace("#", "").replace("@", "").replace("\\", "_")
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
fun loadModulesLeanback(): Map<String, OldModule> {
|
||||
val moduleMap = ValueSortedMap<String, OldModule>()
|
||||
|
||||
Reference in New Issue
Block a user