mirror of
https://github.com/coder/code-server.git
synced 2025-09-24 08:35:09 +08:00
Add the ability to kill running VS Code instance
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import * as fs from "fs"
|
||||
import * as path from "path"
|
||||
import { Application } from "../../common/api"
|
||||
|
||||
@ -11,6 +12,7 @@ const getVscodeVersion = (): string => {
|
||||
|
||||
export const Vscode: Application = {
|
||||
categories: ["Editor"],
|
||||
icon: fs.readFileSync(path.resolve(__dirname, "../../../lib/vscode/resources/linux/code.png")).toString("base64"),
|
||||
installed: true,
|
||||
name: "VS Code",
|
||||
path: "/vscode",
|
||||
|
Reference in New Issue
Block a user