mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
clear /lib
This commit is contained in:
parent
35659f750c
commit
48e92a2ed9
@ -20,6 +20,9 @@ object LibManager{
|
||||
val dynamic = false;
|
||||
|
||||
fun clearLibs(){
|
||||
if(!dynamic){
|
||||
return;
|
||||
}
|
||||
libPath.listFiles()?.forEach {
|
||||
it.delete()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user