mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
actually
This commit is contained in:
parent
698e9591a5
commit
0eb217c577
@ -1,5 +1,6 @@
|
||||
package gearth.services.unity_tools;
|
||||
|
||||
import org.codehaus.plexus.util.FileUtils;
|
||||
import wasm.disassembly.InvalidOpCodeException;
|
||||
|
||||
import java.io.*;
|
||||
@ -46,7 +47,11 @@ public class UnityWebModifyer {
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
saveFolder.delete();
|
||||
try {
|
||||
FileUtils.deleteDirectory(saveFolder);
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user