Папка для загрузок, и пропущенный баг с настройками визуализатора.
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

@@ -25,11 +25,12 @@ public class OpenBugReportTestProject extends Pass<BugReport> {
if (Global.componentsServer.db.CheckCurrent(Log, BugReport.class) &&
(target = Global.componentsServer.db.bugReports.getUI().getCurrent()).CheckNotDraft(Log)) {
if (!target.project_version.isEmpty()) {
root = Paths.get(ComponentsSet.visualiser.getWorkspace().getAbsolutePath(),
target.id).toFile();
project = Paths.get(root.getAbsolutePath(),
Utils_.isWindows() ? Utils_.toW(target.project_version)
: Utils_.toU(target.project_version)).toFile();
root = new File(Global.DownloadsDirectory, target.id);
project = new File(root,
Utils_.isWindows() ? Utils_.toW(target.project_version) : Utils_.toU(target.project_version)
);
return true;
} else {
Log.Writeln_("Отчёт об ошибке не содержит прикреплённого проекта!");