editor: explicit runtime path contract
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user