This commit is contained in:
Elijah R 2024-08-04 18:19:08 -04:00
parent 2192657479
commit 56f34bd580
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@computernewb/superqemu",
"version": "0.1.0",
"version": "0.2.1",
"description": "A simple and easy to use QEMU supervision runtime for Node.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",

View file

@ -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,