From 153ed21dfec62b55795df5abeca0d040f62cfdbf Mon Sep 17 00:00:00 2001 From: nickpdemarco Date: Tue, 17 Oct 2023 13:29:34 -0400 Subject: [PATCH] Use Bundle.module.resourceURL to point to Hylo standard library, not #filepath of Library.swift --- Library/Library.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")