Archived
1
0

vscode-online -> vscode-remote

This commit is contained in:
Asher 2019-02-05 15:26:57 -06:00
parent 7021826e9d
commit 70ad911641
No known key found for this signature in database
GPG Key ID: 7BB4BA9C783D2BBC
7 changed files with 14 additions and 14 deletions

View File

@ -1,19 +1,19 @@
# vscode-cloud
# vscode-remote
Run VS Code in the cloud.
Run VS Code remotely.
## Contributing
### Getting the source
```
git clone https://github.com/codercom/vscode-cloud
git clone https://github.com/codercom/vscode-remote
```
### Installing dependencies
```
cd vscode-cloud
cd vscode-remote
yarn
```

View File

@ -1,9 +1,9 @@
{
"name": "@coder/vscode-cloud",
"repository": "https://github.com/codercom/vscode-cloud",
"name": "@coder/vscode-remote",
"repository": "https://github.com/codercom/vscode-remote",
"author": "Coder",
"license": "MIT",
"description": "VS Code in the cloud.",
"description": "Run VS Code remotely.",
"scripts": {
"build:rules": "cd ./rules && tsc -p .",
"vscode:clone": "mkdir -p ./lib && test -d ./lib/vscode || git clone https://github.com/Microsoft/vscode/ ./lib/vscode",

View File

@ -331,7 +331,7 @@ const getChildLogger = (command: string, prefix: string = ""): Logger => {
let name: string;
if (command.includes("vscode-ipc") || command.includes("extensionHost")) {
name = "exthost";
} else if (command.includes("vscode-online")) {
} else if (command.includes("vscode-remote")) {
name = "shared";
} else {
const basename = command.split("/").pop()!;

View File

@ -72,7 +72,7 @@ export class Entry extends Command {
return requireModule(modulePath, builtInExtensionsDir);
}
const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-online");
const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-remote");
const workingDir = args["workdir"];
if (process.env.BUILD_DIR && process.env.BUILD_DIR.startsWith(workingDir)) {
@ -122,7 +122,7 @@ export class Entry extends Command {
next();
});
if ((process.env.CLI === "false" || !process.env.CLI) && !process.env.SERVE_STATIC) {
const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.dev.config.js"));
const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.config.js"));
const compiler = require("webpack")(webpackConfig);
app.use(require("webpack-dev-middleware")(compiler, {
logger,

View File

@ -23,7 +23,7 @@ export type SharedProcessEvent = {
export class SharedProcess {
public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-online${Math.random().toString()}`);
public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-remote${Math.random().toString()}`);
private _state: SharedProcessState = SharedProcessState.Stopped;
private activeProcess: ChildProcess | undefined;
private ipcHandler: StdioIpcHandler | undefined;

View File

@ -1,7 +1,7 @@
export const _paths = {
appData: "/tmp",
defaultUserData: "/tmp",
socketPath: "/tmp/vscode-online.sock",
socketPath: "/tmp/vscode-remote.sock",
};
export const getAppDataPath = (): string => _paths.appData;

View File

@ -2,8 +2,8 @@ import { IProductConfiguration } from "vs/platform/node/product";
const product = {
nameShort: "VSCode",
nameLong: "vscode online",
dataFolderName: ".vscode-online",
nameLong: "VSCode Remote",
dataFolderName: ".vscode-remote",
extensionsGallery: {
serviceUrl: "https://marketplace.visualstudio.com/_apis/public/gallery",
cacheUrl: "https://vscode.blob.core.windows.net/gallery/index",