Minor changes

This commit is contained in:
Scott Idem
2022-10-16 23:27:19 -04:00
parent a83334aac7
commit f3558dc75b

View File

@@ -889,6 +889,8 @@ exports.run_cmd = async function ({cmd=null}) {
exports.get_device_info = async function () {
console.log('*** Electron framework export: get_device_info() ***');
// https://nodejs.org/api/os.html
let data = {};
data['arch'] = os.arch();
data['hostname'] = os.hostname();