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