Skip to content

Commit 0849541

Browse files
authored
Update 29-config-custom
1 parent 5fd3a90 commit 0849541

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

root/etc/cont-init.d/29-config-custom

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ echo 'export PATH=/swift/usr/bin:"${PATH}"' >> /root/.bashrc
1414
source /root/.bashrc
1515

1616
echo "Checking Swift version"
17-
swift -version
17+
/swift/usr/bin/swift -version
1818

1919
echo "Adding Swift to PATH for VSCode"
2020
echo 'export PATH=/swift/usr/bin:"${PATH}"' >> /config/.bashrc && source /config/.bashrc
2121

22-
echo "Swift binaries installed for VSCode. Make sure to also install the 'sswg.swift-lang' extension in VSCode"
22+
echo "Swift binaries installed for VSCode. Trying to install the sswg.swift-lang extension"
23+
24+
install-extension sswg.swift-lang
25+
26+
echo "Please manually download and install 'sswg.swift-lang' from 'https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang' if you see errors above"

0 commit comments

Comments
 (0)