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
This commit is contained in:
Mark Nashed 2026-01-26 19:25:39 -08:00
parent 959ddae612
commit 975e6e37a3

View File

@ -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(