This commit is contained in:
crschnick
2026-03-29 18:12:01 +00:00
parent 9895b5600a
commit ab6d94f591
4 changed files with 9 additions and 3 deletions
@@ -24,7 +24,7 @@ public class AppAotTrain {
true);
AppLayoutModel.get().selectSettings();
ThreadHelper.sleep(1000);
// AppLayoutModel.get().selectLicense();
AppLayoutModel.get().selectLicense();
ThreadHelper.sleep(1000);
AppLayoutModel.get().selectBrowser();
ThreadHelper.sleep(5000);
@@ -61,6 +61,10 @@ public class WorkspaceManager {
}
private void save() {
if (AppProperties.get().isAotTrainMode() ||AppProperties.get().isTest() || workspaces.isEmpty()) {
return;
}
try {
var file = AppProperties.get().getDefaultReleaseDataDir().resolve("workspaces.json");
JacksonMapper.getDefault().writeValue(file.toFile(), workspaces);
@@ -1,8 +1,10 @@
package io.xpipe.app.prefs;
import io.xpipe.app.comp.BaseRegionBuilder;
import io.xpipe.app.comp.RegionBuilder;
import io.xpipe.app.comp.base.ButtonComp;
import io.xpipe.app.core.AppI18n;
import io.xpipe.app.core.AppProperties;
import io.xpipe.app.platform.LabelGraphic;
import io.xpipe.app.platform.OptionsBuilder;
import io.xpipe.app.util.DocumentationLink;
@@ -28,7 +30,7 @@ public class WorkspacesCategory extends AppPrefsCategory {
.nameAndDescription("workspaceManagement")
.documentationLink(DocumentationLink.WORKSPACES)
.licenseRequirement("workspaces")
.addComp(new WorkspaceOverviewComp().maxWidth(getCompWidth())))
.addComp(AppProperties.get().isAotTrainMode() ? RegionBuilder.empty() : new WorkspaceOverviewComp().maxWidth(getCompWidth())))
.buildComp();
}
}
+1 -1
View File
@@ -1 +1 @@
22.2-6
22.2-7