mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add VS Code version to product metadata (#1998)
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
"gettingStartedUrl": "https://go.microsoft.com/fwlink/?linkid=862039",
|
"gettingStartedUrl": "https://go.microsoft.com/fwlink/?linkid=862039",
|
||||||
"releaseNotesUrl": "https://go.microsoft.com/fwlink/?linkid=875578",
|
"releaseNotesUrl": "https://go.microsoft.com/fwlink/?linkid=875578",
|
||||||
"documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277",
|
"documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277",
|
||||||
|
"vscodeVersion": "1.23.1",
|
||||||
"commit": "9ca6200018fc206d67a47229f991901a8a453781",
|
"commit": "9ca6200018fc206d67a47229f991901a8a453781",
|
||||||
"date": "2017-12-15T12:00:00.000Z",
|
"date": "2017-12-15T12:00:00.000Z",
|
||||||
"recommendedExtensions": [
|
"recommendedExtensions": [
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ export interface IProductConfiguration {
|
|||||||
releaseNotesUrl: string;
|
releaseNotesUrl: string;
|
||||||
// {SQL CARBON EDIT}
|
// {SQL CARBON EDIT}
|
||||||
gettingStartedUrl: string;
|
gettingStartedUrl: string;
|
||||||
|
// {SQL CARBON EDIT}
|
||||||
|
vscodeVersion: string;
|
||||||
keyboardShortcutsUrlMac: string;
|
keyboardShortcutsUrlMac: string;
|
||||||
keyboardShortcutsUrlLinux: string;
|
keyboardShortcutsUrlLinux: string;
|
||||||
keyboardShortcutsUrlWin: string;
|
keyboardShortcutsUrlWin: string;
|
||||||
|
|||||||
@@ -458,15 +458,17 @@ export class WindowsService implements IWindowsService, IURLHandler, IDisposable
|
|||||||
this.logService.trace('windowsService#openAboutDialog');
|
this.logService.trace('windowsService#openAboutDialog');
|
||||||
const lastActiveWindow = this.windowsMainService.getFocusedWindow() || this.windowsMainService.getLastActiveWindow();
|
const lastActiveWindow = this.windowsMainService.getFocusedWindow() || this.windowsMainService.getLastActiveWindow();
|
||||||
|
|
||||||
|
// {{SQL CARBON EDIT}}
|
||||||
const detail = nls.localize('aboutDetail',
|
const detail = nls.localize('aboutDetail',
|
||||||
"Version {0}\nCommit {1}\nDate {2}\nShell {3}\nRenderer {4}\nNode {5}\nArchitecture {6}",
|
"Version {0}\nCommit {1}\nDate {2}\nVS Code {7}\nShell {3}\nRenderer {4}\nNode {5}\nArchitecture {6}",
|
||||||
app.getVersion(),
|
app.getVersion(),
|
||||||
product.commit || 'Unknown',
|
product.commit || 'Unknown',
|
||||||
product.date || 'Unknown',
|
product.date || 'Unknown',
|
||||||
process.versions['electron'],
|
process.versions['electron'],
|
||||||
process.versions['chrome'],
|
process.versions['chrome'],
|
||||||
process.versions['node'],
|
process.versions['node'],
|
||||||
process.arch
|
process.arch,
|
||||||
|
product.vscodeVersion
|
||||||
);
|
);
|
||||||
|
|
||||||
const buttons = [nls.localize('okButton', "OK")];
|
const buttons = [nls.localize('okButton', "OK")];
|
||||||
|
|||||||
Reference in New Issue
Block a user