Папка для загрузок, и пропущенный баг с настройками визуализатора.
This commit is contained in:
2025-01-23 16:56:45 +03:00
parent 29176ebb4a
commit 6c0c103804
154 changed files with 61977 additions and 15 deletions

View File

@@ -51,8 +51,7 @@ public class DownloadProject extends CurrentConnectionPass {
}
@Override
protected void performDone() throws Exception {
File project = Paths.get(ComponentsSet.visualiser.getWorkspace().getAbsolutePath(),
Utils_.getDateName(src.name)).toFile();
File project = new File(Global.DownloadsDirectory, Utils_.getDateName(src.name));
if (Global.mainModule.getPass(PassCode.UnzipFolderPass).Do(local_archive.getAbsolutePath(), project.getAbsolutePath())) {
if (UI.Question("Проект " + Utils_.Brackets(src.name) + " успешно загружен. Открыть его"))
Global.mainModule.getPass(PassCode.OpenCurrentProject).Do(project);