Skip to content

Commit 7308756

Browse files
authored
Update PublicStaging path (#132)
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`.
1 parent edd6b90 commit 7308756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XKit/Installation/IPAUploader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public final class IPAUploader: Sendable {
1515
case unexpectedSymlink(at: URL)
1616
}
1717

18-
private static let packagePath = URL(fileURLWithPath: "PublicStaging")
18+
private static let packagePath = URL(fileURLWithPath: "/PublicStaging")
1919
private static let bufferSize = 1 << 20 // 1 MB
2020

2121
public final class UploadedIPA: Sendable {

0 commit comments

Comments
 (0)