From 9c0972f03404479df401e127adb289317043df87 Mon Sep 17 00:00:00 2001 From: Elijah R Date: Sun, 4 Aug 2024 18:19:08 -0400 Subject: [PATCH] bump v --- package.json | 2 +- src/QemuVM.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1c8f89b..6df576e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@computernewb/superqemu", - "version": "0.1.0", + "version": "0.2.0", "description": "A simple and easy to use QEMU supervision runtime for Node.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/QemuVM.ts b/src/QemuVM.ts index 2df083e..47953d5 100644 --- a/src/QemuVM.ts +++ b/src/QemuVM.ts @@ -86,7 +86,7 @@ export class QemuVM extends EventEmitter { this.qmpInstance.on('connected', async () => { self.logger.info('QMP ready'); - if (process.platform === "win32") { + if (this.definition.forceTcp || process.platform === "win32") { this.display = new QemuDisplay({ host: this.definition.vncHost || '127.0.0.1', port: this.definition.vncPort || 5900,