This commit is contained in:
Joao Moreno
2018-08-29 11:03:26 +02:00
parent 920a53b7b6
commit f70904daf6
@@ -505,9 +505,15 @@ export class WindowsService implements IWindowsService, IURLHandler, IDisposable
this.logService.trace('windowsService#openAboutDialog');
const lastActiveWindow = this.windowsMainService.getFocusedWindow() || this.windowsMainService.getLastActiveWindow();
let version = app.getVersion();
if (product.target) {
version = `${version} (${product.target} setup)`;
}
const detail = nls.localize('aboutDetail',
"Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nChrome: {4}\nNode.js: {5}\nV8: {6}\nArchitecture: {7}",
app.getVersion(),
version,
product.commit || 'Unknown',
product.date || 'Unknown',
process.versions['electron'],