From 975e6e37a31415e9b31ec66377b2bb22b4f897c0 Mon Sep 17 00:00:00 2001 From: Mark Nashed Date: Mon, 26 Jan 2026 19:25:39 -0800 Subject: [PATCH] Fix Bundle.module crash in syntax highlighting Use fixed Textual fork that points to fixed SwiftUIMath. The crash occurs in packaged .app bundles when Bundle.module tries to locate resources at paths that don't match SwiftPM's expectations. The fix replaces direct Bundle.module usage with a safe alternative that checks multiple locations for resource bundles. Fixes #1451 --- apps/shared/ClawdbotKit/Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shared/ClawdbotKit/Package.swift b/apps/shared/ClawdbotKit/Package.swift index 88dc28b5c..2c04ecf04 100644 --- a/apps/shared/ClawdbotKit/Package.swift +++ b/apps/shared/ClawdbotKit/Package.swift @@ -15,7 +15,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/steipete/ElevenLabsKit", exact: "0.1.0"), - .package(url: "https://github.com/gonzalezreal/textual", exact: "0.3.1"), + .package(url: "https://github.com/CraftedMark/textual", branch: "main"), ], targets: [ .target(