From 8ce6e7f659208f15ae83402331048c67b6154e2b Mon Sep 17 00:00:00 2001 From: Ashlee Radka Date: Mon, 23 Feb 2026 19:23:19 -0500 Subject: [PATCH] fix: use ResourceBundle for editor asset lookup instead of Bundle.main Co-Authored-By: Claude --- .../Features/MainWindow/DocumentEditorView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/macos/vellum-assistant/Features/MainWindow/DocumentEditorView.swift b/clients/macos/vellum-assistant/Features/MainWindow/DocumentEditorView.swift index 4ac3a0738b6..22920c66403 100644 --- a/clients/macos/vellum-assistant/Features/MainWindow/DocumentEditorView.swift +++ b/clients/macos/vellum-assistant/Features/MainWindow/DocumentEditorView.swift @@ -199,7 +199,7 @@ struct DocumentEditorView: NSViewRepresentable { private func loadEditorAsset(_ filename: String) -> String { let name = (filename as NSString).deletingPathExtension let ext = (filename as NSString).pathExtension - guard let url = Bundle.main.url(forResource: name, withExtension: ext, subdirectory: "editor"), + guard let url = ResourceBundle.bundle.url(forResource: name, withExtension: ext, subdirectory: "editor"), let contents = try? String(contentsOf: url, encoding: .utf8) else { log.error("Failed to load bundled editor asset: \(filename)") return ""