electron-about-window
Advanced tools
Comparing version 1.12.0 to 1.12.1
{ | ||
"name": "electron-about-window", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"description": "'About App' window for Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -69,2 +69,5 @@ "use strict"; | ||
} | ||
if (info.use_version_info === undefined) { | ||
info.use_version_info = true; | ||
} | ||
return info; | ||
@@ -71,0 +74,0 @@ } |
@@ -56,15 +56,17 @@ "use strict"; | ||
} | ||
if (info.use_version_info) { | ||
const versions = document.querySelector('.versions'); | ||
const vs = process.versions; | ||
for (const name of ['electron', 'chrome', 'node', 'v8']) { | ||
const tr = document.createElement('tr'); | ||
const name_td = document.createElement('td'); | ||
name_td.innerText = name; | ||
tr.appendChild(name_td); | ||
const version_td = document.createElement('td'); | ||
version_td.innerText = ' : ' + vs[name]; | ||
tr.appendChild(version_td); | ||
versions.appendChild(tr); | ||
} | ||
} | ||
}); | ||
const versions = document.querySelector('.versions'); | ||
const vs = process.versions; | ||
for (const name of ['electron', 'chrome', 'node', 'v8']) { | ||
const tr = document.createElement('tr'); | ||
const name_td = document.createElement('td'); | ||
name_td.innerText = name; | ||
tr.appendChild(name_td); | ||
const version_td = document.createElement('td'); | ||
version_td.innerText = ' : ' + vs[name]; | ||
tr.appendChild(version_td); | ||
versions.appendChild(tr); | ||
} | ||
//# sourceMappingURL=renderer.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24520
302