This commit is contained in:
2025-01-29 15:20:24 +03:00
parent f7de2590b9
commit ef5089443a
20 changed files with 60 additions and 60 deletions

View File

@@ -5,10 +5,8 @@ import _VisualDVM.Current;
import _VisualDVM.Global;
import _VisualDVM.Passes.PassCode;
import _VisualDVM.Repository.BugReport.BugReport;
import _VisualDVM.Repository.Component.ComponentsSet;
import java.io.File;
import java.nio.file.Paths;
public class OpenBugReportTestProject extends Pass<BugReport> {
File root = null;
File project = null;
@@ -25,7 +23,7 @@ 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 = new File(Global.DownloadsDirectory, target.id);
root = new File(Global.visualiser.getDownloadsDirectory(), target.id);
project = new File(root,