Skip to content

Conversation

roulpriya
Copy link
Contributor

Description

Detect Swiftly Installation and hide the Install Swiftly.. in toolchain picker

Issue: #1771

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@@ -259,7 +259,7 @@ async function getQuickPickItems(
}
// Various actions that the user can perform (e.g. to install new toolchains)
const actionItems: ActionItem[] = [];
if (process.platform === "linux" || process.platform === "darwin") {
if (Swiftly.isSupported() && !(await Swiftly.isInstalled())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: great idea to reuse the existing logic

@roulpriya roulpriya force-pushed the do-not-show-swiftly-install branch from dd1a194 to 1b48042 Compare August 13, 2025 17:43
@matthewbastien matthewbastien merged commit d6ca9d1 into swiftlang:main Aug 13, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants