Skip to content

Commit

Permalink
Use .bundle (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii authored Feb 12, 2024
1 parent e87e0bc commit 927d577
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/BrightroomUI/Shared/BrightroomUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ let bundle = Bundle.init(for: Dummy.self)
Bundle.init(path: $0)
}!
#elseif SWIFT_PACKAGE_MANAGER
let bundle = Bundle.init(for: Dummy.self)
.path(forResource: "Brightroom_BrightroomUI", ofType: "bundle")
.map {
Bundle.init(path: $0)
}!
let bundle = Bundle.module
#else
let bundle = Bundle.init(for: Dummy.self)
#endif
Expand Down

0 comments on commit 927d577

Please sign in to comment.