diff --git a/Library/Library.swift b/Library/Library.swift index 6b35fa3ed..9494075a0 100644 --- a/Library/Library.swift +++ b/Library/Library.swift @@ -1,6 +1,6 @@ import Foundation -fileprivate let libraryRoot = URL(fileURLWithPath: #filePath).deletingLastPathComponent() +fileprivate let libraryRoot = Bundle.module.resourceURL! /// The root URL of Hylo's core library. public let core = libraryRoot.appendingPathComponent("Hylo/Core")