Skip to content

Commit d62e8db

Browse files
committed
Add code-server version to about dialog
1 parent 620314b commit d62e8db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vs/workbench/browser/parts/dialogs/dialogHandler.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,12 @@ export class BrowserDialogHandler implements IDialogHandler {
144144
async about(): Promise<void> {
145145
const detailString = (useAgo: boolean): string => {
146146
return localize('aboutDetail',
147-
"Version: {0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
147+
"code-server: v{4}\n VS Code: v{0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
148148
this.productService.version || 'Unknown',
149149
this.productService.commit || 'Unknown',
150150
this.productService.date ? `${this.productService.date}${useAgo ? ' (' + fromNow(new Date(this.productService.date), true) + ')' : ''}` : 'Unknown',
151-
navigator.userAgent
151+
navigator.userAgent,
152+
this.productService.codeServerVersion || 'Unknown',
152153
);
153154
};
154155

0 commit comments

Comments
 (0)