|
@@ -206,6 +206,10 @@ public class LaserService implements ILaserService {
|
|
|
@SneakyThrows
|
|
|
public File offlineZip( String path,String moveZipPath) {
|
|
|
String bashOfflinePath = laserschool + "bashOffline.zip";
|
|
|
+ File file = new File(moveZipPath);
|
|
|
+ if(!file.getParentFile().exists()){
|
|
|
+ file.getParentFile().mkdirs();
|
|
|
+ }
|
|
|
String zipCmd = ZIP_PATH;
|
|
|
zipCmd = zipCmd.replace("@bashOffline", bashOfflinePath);
|
|
|
zipCmd = zipCmd.replace("@target", moveZipPath);
|