Skip to content

Commit f4cd3db

Browse files
fix the URL for Swiftly (#931)
1 parent 1dc3c64 commit f4cd3db

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/ui/ToolchainSelection.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import configuration from "../configuration";
2222
* Open the installation page on Swift.org
2323
*/
2424
export async function downloadToolchain() {
25-
if (await vscode.env.openExternal(vscode.Uri.parse("https://www.swift.org/install/"))) {
25+
if (await vscode.env.openExternal(vscode.Uri.parse("https://www.swift.org/install"))) {
2626
const selected = await showReloadExtensionNotification(
2727
"The Swift extension must be reloaded once you have downloaded and installed the new toolchain.",
2828
"Select Toolchain"
@@ -37,9 +37,7 @@ export async function downloadToolchain() {
3737
* Open the installation page for Swiftly
3838
*/
3939
export async function installSwiftly() {
40-
if (
41-
await vscode.env.openExternal(vscode.Uri.parse("https://swift-server.github.io/swiftly/"))
42-
) {
40+
if (await vscode.env.openExternal(vscode.Uri.parse("https://swiftlang.github.io/swiftly"))) {
4341
const selected = await showReloadExtensionNotification(
4442
"The Swift extension must be reloaded once you have downloaded and installed the new toolchain.",
4543
"Select Toolchain"
@@ -200,14 +198,14 @@ async function getQuickPickItems(
200198
actionItems.push({
201199
type: "action",
202200
label: "$(cloud-download) Install Swiftly for toolchain management...",
203-
detail: "Install https://swift-server.github.io/swiftly/ to manage your toolchains on Linux",
201+
detail: "Install https://swiftlang.github.io/swiftly to manage your toolchains on Linux",
204202
run: installSwiftly,
205203
});
206204
}
207205
actionItems.push({
208206
type: "action",
209207
label: "$(cloud-download) Download from Swift.org...",
210-
detail: "Open https://swift.org/install/ to download and install a toolchain",
208+
detail: "Open https://swift.org/install to download and install a toolchain",
211209
run: downloadToolchain,
212210
});
213211
actionItems.push({

0 commit comments

Comments
 (0)