mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
@@ -36,23 +36,12 @@ pub const VSCODE_CLI_UPDATE_ENDPOINT: Option<&'static str> =
|
||||
|
||||
/// Windows lock name for the running tunnel service. Used by the setup script
|
||||
/// to detect a tunnel process. See #179265.
|
||||
pub const TUNNEL_SERVICE_LOCK_NAME: &str = concatcp!(
|
||||
"code_tunnel_service_",
|
||||
match VSCODE_CLI_QUALITY {
|
||||
Some(n) => n,
|
||||
None => "oss",
|
||||
}
|
||||
);
|
||||
pub const TUNNEL_SERVICE_LOCK_NAME: Option<&'static str> =
|
||||
option_env!("VSCODE_CLI_TUNNEL_SERVICE_MUTEX");
|
||||
|
||||
/// Windows lock name for the running tunnel without a service. Used by the setup
|
||||
/// script to detect a tunnel process. See #179265.
|
||||
pub const TUNNEL_NO_SERVICE_LOCK_NAME: &str = concatcp!(
|
||||
"code_tunnel_",
|
||||
match VSCODE_CLI_QUALITY {
|
||||
Some(n) => n,
|
||||
None => "oss",
|
||||
}
|
||||
);
|
||||
pub const TUNNEL_CLI_LOCK_NAME: Option<&'static str> = option_env!("VSCODE_CLI_TUNNEL_CLI_MUTEX");
|
||||
|
||||
pub const TUNNEL_SERVICE_USER_AGENT_ENV_VAR: &str = "TUNNEL_SERVICE_USER_AGENT";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user