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;
|
package gearth.services.unity_tools;
|
||||||
|
|
||||||
|
import org.codehaus.plexus.util.FileUtils;
|
||||||
import wasm.disassembly.InvalidOpCodeException;
|
import wasm.disassembly.InvalidOpCodeException;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
@ -46,7 +47,11 @@ public class UnityWebModifyer {
|
|||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
saveFolder.delete();
|
try {
|
||||||
|
FileUtils.deleteDirectory(saveFolder);
|
||||||
|
} catch (IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user