Skip to content

OpenUsage 0.7.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Jun 07:29
· 505 commits to main since this release
Fix app crash on launch: load resources from Contents/Resources

The SwiftPM-generated Bundle.module for an executable target only resolves the
resource bundle next to the app root or at a build-time-baked path, neither of
which exists in a shipped .app (resources live in Contents/Resources). The app
hit Bundle.module's fatalError on launch on any machine other than the one that
built it. Add Bundle.openUsageResources, which finds OpenUsage_OpenUsage.bundle
in Contents/Resources and falls back to Bundle.module for swift run/test, and
use it for provider icons and the Cursor model manifest.

Co-authored-by: Cursor <cursoragent@cursor.com>