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 c72824c commit 5796c06Copy full SHA for 5796c06
Package.swift
@@ -25,7 +25,7 @@ var swift510Products: [Product] = []
25
branch: "main"
26
),
27
.package(
28
- url: "https://github.com/thebrowsercompany/swift-winui",
+ url: "https://github.com/stackotter/swift-winui",
29
30
31
]
@@ -242,7 +242,7 @@ func getGtk4MinorVersion() -> Int? {
242
let pipe = Pipe()
243
process.standardOutput = pipe
244
245
- guard let _ = try? process.run(),
+ guard (try? process.run()) != nil,
246
let data = try? pipe.fileHandleForReading.readToEnd(),
247
case _ = process.waitUntilExit(),
248
let version = String(data: data, encoding: .utf8)?.split(separator: ".")
0 commit comments