no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Visual.UI;
|
||||
@@ -29,8 +29,8 @@ public class DownloadProject extends CurrentConnectionPass {
|
||||
if ((user.connection.getFileKBSize(src.full_name)) <= maxSize) {
|
||||
ShowMessage2("Запаковка папки проекта..");
|
||||
user.connection.Command(
|
||||
"cd " + CommonUtils.DQuotes(src.full_name),
|
||||
"zip -r " + CommonUtils.DQuotes(remote_archive.full_name) + " ./"
|
||||
"cd " + Utils_.DQuotes(src.full_name),
|
||||
"zip -r " + Utils_.DQuotes(remote_archive.full_name) + " ./"
|
||||
);
|
||||
// try {
|
||||
ShowMessage2("Загрузка проекта..");
|
||||
@@ -53,9 +53,9 @@ public class DownloadProject extends CurrentConnectionPass {
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
File project = Paths.get(Global.visualiser.getWorkspace().getAbsolutePath(),
|
||||
CommonUtils.getDateName(src.name)).toFile();
|
||||
Utils_.getDateName(src.name)).toFile();
|
||||
if (passes.get(PassCode.UnzipFolderPass).Do(local_archive.getAbsolutePath(), project.getAbsolutePath())) {
|
||||
if (CommonUI.Question("Проект " + CommonUtils.Brackets(src.name) + " успешно загружен. Открыть его"))
|
||||
if (UI_.Question("Проект " + Utils_.Brackets(src.name) + " успешно загружен. Открыть его"))
|
||||
passes.get(PassCode.OpenCurrentProject).Do(project);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user