File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
share/heliumos/feature/vscode Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ run0 sh -c '
6+ rm -rf /opt/VSCode-linux-x64
7+ rm /usr/local/bin/code
8+ rm /usr/local/share/applications/vscode.desktop
9+ '
10+
11+ echo " ****************************************"
12+ echo " --Complete--"
13+ echo " VSCode has been removed from the system!"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ curl -Lo /tmp/vscode.tar.gz ' https://code.visualstudio.com/sha/download?build=stable&os=linux-x64'
6+ tar -xzf /tmp/vscode.tar.gz
7+ rm /tmp/vscode.tar.gz
8+
9+ run0 sh -c '
10+ mv VSCode-linux-x64 /opt/
11+ ln -sf /opt/VSCode-linux-x64/bin/code /usr/local/bin/
12+ ln -sf /usr/share/heliumos/feature/vscode/vscode.desktop /usr/local/share/applications/
13+ '
14+
15+ echo " ****************************************"
16+ echo " --Complete--"
17+ echo " Run 'code' or check the Application Launcher to start VSCode!"
Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Comment =Visual Studio Code
3+ Exec =code
4+ GenericName =Text Editor
5+ Icon =/opt/VSCode-linux-x64/resources/app/resources/linux/code.png
6+ Name =VSCode
7+ NoDisplay =false
8+ Path =
9+ StartupNotify =true
10+ Terminal =false
11+ TerminalOptions =
12+ Type =Application
13+ X-KDE-SubstituteUID =false
14+ X-KDE-Username =
You can’t perform that action at this time.
0 commit comments