Include Agent version to the firmware update log.
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
|||||||
getPackageJsonFromPathAsync,
|
getPackageJsonFromPathAsync,
|
||||||
saveTmpFirmware
|
saveTmpFirmware
|
||||||
} from '../util';
|
} from '../util';
|
||||||
|
import { getVersions } from '../../../uhk-web/src/app/util';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IpcMain pair of the UHK Communication
|
* IpcMain pair of the UHK Communication
|
||||||
@@ -161,6 +162,7 @@ export class DeviceService {
|
|||||||
let firmwarePathData: TmpFirmware;
|
let firmwarePathData: TmpFirmware;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
this.logService.debug('Agent version:', getVersions().version);
|
||||||
const hardwareModules = await this.getHardwareModules(false);
|
const hardwareModules = await this.getHardwareModules(false);
|
||||||
this.logService.debug('Device right firmware version:', hardwareModules.rightModuleInfo.firmwareVersion);
|
this.logService.debug('Device right firmware version:', hardwareModules.rightModuleInfo.firmwareVersion);
|
||||||
this.logService.debug('Device left firmware version:', hardwareModules.leftModuleInfo.firmwareVersion);
|
this.logService.debug('Device left firmware version:', hardwareModules.leftModuleInfo.firmwareVersion);
|
||||||
|
|||||||
Reference in New Issue
Block a user