We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b95ae commit 3c4cd43Copy full SHA for 3c4cd43
Sources/LinuxPlatform/Linux.swift
@@ -28,7 +28,7 @@ public struct Linux: Platform {
28
}
29
30
public func swiftlyBinDir(_ ctx: SwiftlyCoreContext) -> URL {
31
- ctx.mockedHomeDir.map { $0.appendingPathComponent(".local/share/swiftly/bin", isDirectory: true) }
+ ctx.mockedHomeDir.map { $0.appendingPathComponent("bin", isDirectory: true) }
32
?? ProcessInfo.processInfo.environment["SWIFTLY_BIN_DIR"].map { URL(fileURLWithPath: $0) }
33
?? FileManager.default.homeDirectoryForCurrentUser
34
.appendingPathComponent(".local/share/swiftly/bin", isDirectory: true)
0 commit comments