2019-01-18 21:46:40 +00:00
|
|
|
import { IProductConfiguration } from "vs/platform/node/product";
|
|
|
|
|
|
|
|
const product = {
|
2019-02-28 20:04:19 +00:00
|
|
|
nameShort: "code-server",
|
|
|
|
nameLong: "code-server",
|
|
|
|
dataFolderName: ".code-server",
|
2019-01-18 21:46:40 +00:00
|
|
|
extensionsGallery: {
|
2019-03-01 21:51:11 +00:00
|
|
|
serviceUrl: global && global.process && global.process.env.SERVICE_URL
|
|
|
|
|| process.env.SERVICE_URL
|
|
|
|
|| "https://v1.extapi.coder.com",
|
2019-01-18 21:46:40 +00:00
|
|
|
},
|
|
|
|
extensionExecutionEnvironments: {
|
|
|
|
"wayou.vscode-todo-highlight": "worker",
|
|
|
|
"vscodevim.vim": "worker",
|
|
|
|
"coenraads.bracket-pair-colorizer": "worker",
|
|
|
|
},
|
|
|
|
fetchUrl: "",
|
|
|
|
} as IProductConfiguration;
|
|
|
|
|
|
|
|
if (process.env['VSCODE_DEV']) {
|
|
|
|
product.nameShort += ' Dev';
|
|
|
|
product.nameLong += ' Dev';
|
|
|
|
product.dataFolderName += '-dev';
|
|
|
|
}
|
|
|
|
|
|
|
|
export default product;
|