no message

This commit is contained in:
2025-01-11 14:26:24 +03:00
parent d495a5afb7
commit bd705813e9
10 changed files with 32 additions and 19 deletions

View File

@@ -73,13 +73,12 @@ public class Visualiser extends Component {
System.exit(0);
}
public File getWorkspace() {
if (!(Global.mainModule.getDb()).settings.get(SettingName.Workspace).toString().isEmpty()) {
File workspace = new File(Global.mainModule.getDb().settings.get(SettingName.Workspace).toString());
if (!Global.properties.Workspace.isEmpty()) {
File workspace = new File(Global.properties.Workspace);
if (workspace.exists())
return workspace;
else
Global.mainModule.getPass(PassCode.UpdateSetting).Do(
SettingName.Workspace, "");
Global.mainModule.getPass(PassCode.UpdateProperty).Do("Workspace", "");
}
return Global.ProjectsDirectory;
}