Files
Kyle Carberry 4af84fcaf6 Add flags for customizing user data dir and extensions dir (#420)
* Add flags for customizing extensions directory

* Update @coder/nbin
2019-04-03 17:07:47 -05:00

46 lines
873 B
Protocol Buffer

syntax = "proto3";
import "node.proto";
import "vscode.proto";
// Messages that the client can send to the server.
message ClientMessage {
oneof msg {
// node.proto
Method method = 20;
Ping ping = 21;
}
}
// Messages that the server can send to the client.
message ServerMessage {
oneof msg {
// node.proto
Method.Fail fail = 13;
Method.Success success = 14;
Event event = 19;
Callback callback = 22;
Pong pong = 18;
WorkingInit init = 16;
// vscode.proto
SharedProcessActive shared_process_active = 17;
}
}
message WorkingInit {
string home_directory = 1;
string tmp_directory = 2;
string data_directory = 3;
string working_directory = 4;
enum OperatingSystem {
Windows = 0;
Linux = 1;
Mac = 2;
}
OperatingSystem operating_system = 5;
string shell = 6;
string builtin_extensions_dir = 7;
string extensions_directory = 8;
}