Minor changes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user