editor: explicit runtime path contract

This commit is contained in:
2026-04-28 14:49:41 +08:00
parent 0e506f21ec
commit cd166037bf
38 changed files with 210 additions and 129 deletions

View File

@@ -510,10 +510,10 @@ UIEditorMenuModel BuildEditorMenuModel() {
namespace XCEngine::UI::Editor::App {
EditorShellAsset BuildEditorApplicationShellAsset(const std::filesystem::path& repoRoot) {
EditorShellAsset BuildEditorApplicationShellAsset(const EditorRuntimePaths& runtimePaths) {
EditorShellAsset asset = {};
asset.screenId = "editor.shell";
asset.captureRootPath = (repoRoot / "editor/captures").lexically_normal();
asset.captureRootPath = runtimePaths.captureRoot.lexically_normal();
asset.panelRegistry = BuildEditorPanelRegistry();
asset.workspace = BuildEditorWorkspaceModel(asset.panelRegistry);
asset.workspaceSession =