From 876ff236cd8134457a5cd446d0b6846fffd74621 Mon Sep 17 00:00:00 2001 From: Michael Redig Date: Wed, 20 Dec 2023 06:14:12 -0600 Subject: [PATCH] (fix) use URLComponents to create zip url (resolves symlink freakouts) --- Sources/PKGAppcastGeneratorCore/Entry+URL.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PKGAppcastGeneratorCore/Entry+URL.swift b/Sources/PKGAppcastGeneratorCore/Entry+URL.swift index 8d96fa1..4790122 100644 --- a/Sources/PKGAppcastGeneratorCore/Entry+URL.swift +++ b/Sources/PKGAppcastGeneratorCore/Entry+URL.swift @@ -3,7 +3,7 @@ import ZIPFoundation public extension Entry { var pathURL: URL? { - URL(string: "zip:///\(path)") + URLComponents(string: "zip:///\(path)")?.url } var componentCount: Int {