From 9be0695c553a74929814fb48a3445d9a6712b5b9 Mon Sep 17 00:00:00 2001 From: laosb Date: Tue, 20 Jan 2026 22:25:18 +0800 Subject: [PATCH] fix: zip path finding --- .../ArtifactBundleBuilder+File Operations.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift b/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift index ac45cd4..51bae14 100644 --- a/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift +++ b/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift @@ -21,12 +21,9 @@ extension ArtifactBundleBuilder { try fileManager.removeItem(atPath: zipPath) } - let bundleDirURL = URL(fileURLWithPath: bundleDir) - let bundleName = bundleDirURL.lastPathComponent - let process = Process() process.executableURL = URL(fileURLWithPath: "/usr/bin/zip") - process.arguments = ["-r", zipPath, bundleName] + process.arguments = ["-r", zipPath, bundleDir] try process.run() process.waitUntilExit()