@@ -89,16 +89,39 @@ bundle_vscode() {
89
89
rsync " $VSCODE_SRC_PATH /resources/server/bin/helpers/" " $VSCODE_OUT_PATH /bin/helpers"
90
90
chmod +x " $VSCODE_OUT_PATH /bin/helpers/browser.sh"
91
91
92
- # Add the commit and date and enable telemetry. This just makes telemetry
93
- # available; telemetry can still be disabled by flag or setting.
92
+ # Add the commit, date, our name, links, and enable telemetry. This just makes
93
+ # telemetry available; telemetry can still be disabled by flag or setting.
94
94
jq --slurp ' .[0] * .[1]' " $VSCODE_SRC_PATH /product.json" <(
95
95
cat << EOF
96
96
{
97
97
"enableTelemetry": true,
98
98
"commit": "$( cd " $VSCODE_SRC_PATH " && git rev-parse HEAD) ",
99
99
"quality": "stable",
100
100
"date": $( jq -n ' now | todate' ) ,
101
- "codeServerVersion": "$VERSION "
101
+ "codeServerVersion": "$VERSION ",
102
+ "nameShort": "code-server",
103
+ "nameLong": "code-server",
104
+ "applicationName": "code-server",
105
+ "dataFolderName": ".code-server",
106
+ "win32MutexName": "codeserver",
107
+ "licenseUrl": "https://github.com/cdr/code-server/blob/main/LICENSE.txt",
108
+ "win32DirName": "code-server",
109
+ "win32NameVersion": "code-server",
110
+ "win32AppUserModelId": "coder.code-server",
111
+ "win32ShellNameShort": "c&ode-server",
112
+ "darwinBundleIdentifier": "com.coder.code.server",
113
+ "linuxIconName": "com.coder.code.server",
114
+ "reportIssueUrl": "https://github.com/cdr/code-server/issues/new",
115
+ "documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484#vscode",
116
+ "keyboardShortcutsUrlMac": "https://go.microsoft.com/fwlink/?linkid=832143",
117
+ "keyboardShortcutsUrlLinux": "https://go.microsoft.com/fwlink/?linkid=832144",
118
+ "keyboardShortcutsUrlWin": "https://go.microsoft.com/fwlink/?linkid=832145",
119
+ "introductoryVideosUrl": "https://go.microsoft.com/fwlink/?linkid=832146",
120
+ "tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118",
121
+ "newsletterSignupUrl": "https://www.research.net/r/vsc-newsletter",
122
+ "linkProtectionTrustedDomains": [
123
+ "https://open-vsx.org"
124
+ ]
102
125
}
103
126
EOF
104
127
) > " $VSCODE_OUT_PATH /product.json"
0 commit comments