Skip to content

Commit c477519

Browse files
authored
cli: add service integration for systemd (microsoft#166328)
systemd, like most 'modern' linux components, has a nice dbus API. This uses that API to register the tunnel as a service of the calling user. The dbus dependency is temporarily duplicated, until secret-service 3 is released, where they update to the latest version (should be a week or two). For microsoft/vscode-remote-tunnels#367. Next up, macOS, then it's done :)
1 parent eab3273 commit c477519

File tree

10 files changed

+506
-64
lines changed

10 files changed

+506
-64
lines changed

build/azure-pipelines/cli/prepare.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const setLauncherEnvironmentVars = () => {
4242
['VSCODE_CLI_VERSION', packageJson.version],
4343
['VSCODE_CLI_UPDATE_ENDPOINT', product.updateUrl],
4444
['VSCODE_CLI_QUALITY', product.quality],
45+
['VSCODE_CLI_NAME_SHORT', product.nameShort],
46+
['VSCODE_CLI_NAME_LONG', product.nameLong],
47+
['VSCODE_CLI_APPLICATION_NAME', product.applicationName],
4548
['VSCODE_CLI_COMMIT', commit],
4649
[
4750
'VSCODE_CLI_WIN32_APP_IDS',

build/azure-pipelines/cli/prepare.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ const setLauncherEnvironmentVars = () => {
4646
['VSCODE_CLI_VERSION', packageJson.version],
4747
['VSCODE_CLI_UPDATE_ENDPOINT', product.updateUrl],
4848
['VSCODE_CLI_QUALITY', product.quality],
49+
['VSCODE_CLI_NAME_SHORT', product.nameShort],
50+
['VSCODE_CLI_NAME_LONG', product.nameLong],
51+
['VSCODE_CLI_APPLICATION_NAME', product.applicationName],
4952
['VSCODE_CLI_COMMIT', commit],
5053
[
5154
'VSCODE_CLI_WIN32_APP_IDS',

0 commit comments

Comments
 (0)