Update PublicStaging path (#132)
- Commit
7308756c5059c0266fa0554745ced9d79d70c5d6- Author
- Kabir Oberai <[email protected]>
- When
- 2025-07-14 04:19 UTC (1 year ago)
- Parents
edd6b90
Previously this was shadowing the user's cwd path onto the device, e.g. if you were installing from `/home/foo/bar` it would create `/home/foo/bar/PublicStaging` on the device. For uniformity with other tools like `ideviceinstaller`, clean this up and just create `/PublicStaging`.
Diff
Sources/XKit/Installation/IPAUploader.swift
diff --git a/Sources/XKit/Installation/IPAUploader.swift b/Sources/XKit/Installation/IPAUploader.swiftindex 3539df5..c7f77a1 100644--- a/Sources/XKit/Installation/IPAUploader.swift+++ b/Sources/XKit/Installation/IPAUploader.swift@@ -15,7 +15,7 @@ public final class IPAUploader: Sendable { case unexpectedSymlink(at: URL) } - private static let packagePath = URL(fileURLWithPath: "PublicStaging")+ private static let packagePath = URL(fileURLWithPath: "/PublicStaging") private static let bufferSize = 1 << 20 // 1 MB public final class UploadedIPA: Sendable {