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 1d92457 commit f1542a6Copy full SHA for f1542a6
Sources/Swiftly/SelfUpdate.swift
@@ -52,15 +52,14 @@ struct SelfUpdate: SwiftlyCommand {
52
53
#if os(macOS)
54
downloadURL = URL(string: "https://download.swift.org/swiftly/darwin/swiftly-\(version).pkg")
55
-#elseif os(Linux)
+#endif
56
+
57
+#f os(Linux)
58
#if arch(x86_64)
59
downloadURL = URL(string: "https://download.swift.org/swiftly/linux/swiftly-\(version)-x86_64.tar.gz")
60
#elseif arch(arm64)
61
downloadURL = URL(string: "https://download.swift.org/swiftly/linux/swiftly-\(version)-aarch64.tar.gz")
-#else
- #error("Processor architecture is unsupported")
62
#endif
63
- #error("Operating system is unsupported")
64
65
66
guard version > SwiftlyCore.version else {
0 commit comments