diff --git a/server/package-lock.json b/server/package-lock.json index 732a6d31eb..157b2a0765 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/server", - "version": "0.7.28", + "version": "0.7.29", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/server", - "version": "0.7.28", + "version": "0.7.29", "license": "ISC", "dependencies": { "@mapbox/node-pre-gyp": "^1.0.10", diff --git a/server/src/plugin/plugin-host.ts b/server/src/plugin/plugin-host.ts index b777ed35c7..161e091f6b 100644 --- a/server/src/plugin/plugin-host.ts +++ b/server/src/plugin/plugin-host.ts @@ -1,3 +1,4 @@ +import os from 'os'; import { Device, EngineIOHandler } from '@scrypted/types'; import AdmZip from 'adm-zip'; import crypto from 'crypto'; @@ -310,7 +311,7 @@ export class PluginHost { this.worker.stdout.on('data', data => console.log(data.toString())); this.worker.stderr.on('data', data => console.error(data.toString())); - const consoleHeader = `server version: ${serverVersion}\nplugin version: ${this.pluginId} ${this.packageJson.version}\n`; + const consoleHeader = `${os.platform()} ${os.arch()} ${os.machine()} ${os.version()}\nserver version: ${serverVersion}\nplugin version: ${this.pluginId} ${this.packageJson.version}\n`; this.consoleServer = createConsoleServer(this.worker.stdout, this.worker.stderr, consoleHeader); const disconnect = () => {