bump v
This commit is contained in:
parent
2192657479
commit
9c0972f034
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@computernewb/superqemu",
|
"name": "@computernewb/superqemu",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"description": "A simple and easy to use QEMU supervision runtime for Node.js",
|
"description": "A simple and easy to use QEMU supervision runtime for Node.js",
|
||||||
"exports": "./dist/index.js",
|
"exports": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class QemuVM extends EventEmitter {
|
||||||
this.qmpInstance.on('connected', async () => {
|
this.qmpInstance.on('connected', async () => {
|
||||||
self.logger.info('QMP ready');
|
self.logger.info('QMP ready');
|
||||||
|
|
||||||
if (process.platform === "win32") {
|
if (this.definition.forceTcp || process.platform === "win32") {
|
||||||
this.display = new QemuDisplay({
|
this.display = new QemuDisplay({
|
||||||
host: this.definition.vncHost || '127.0.0.1',
|
host: this.definition.vncHost || '127.0.0.1',
|
||||||
port: this.definition.vncPort || 5900,
|
port: this.definition.vncPort || 5900,
|
||||||
|
|
Loading…
Reference in a new issue