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