diff --git a/package-lock.json b/package-lock.json index f5abe98..10e6331 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5093,9 +5093,9 @@ } }, "node_modules/minecraft-protocol": { - "version": "1.25.0", - "resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.25.0.tgz", - "integrity": "sha512-xAyjw03t/sKv7xBk4AxZnLMv5G/cJuXExAMtpK1lxZ5ILHfJObtz9m12tc1eiR7nXkoBgyUQptTZX81OWXyFtQ==", + "version": "1.26.5", + "resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.26.5.tgz", + "integrity": "sha512-PKYUeyG+mb4MkwWbX4XrQ5SG5B4PDE6XF3Fm+z1iRwGck23DFVV3hxRHkUqBUxe0TxKrOXKGzhvT+vn541QHOw==", "dependencies": { "@azure/msal-node": "^1.0.0-beta.3", "@xboxreplay/xboxlive-auth": "^3.3.3", @@ -5105,7 +5105,7 @@ "endian-toggle": "^0.0.0", "lodash.get": "^4.1.2", "lodash.merge": "^4.3.0", - "minecraft-data": "^2.70.0", + "minecraft-data": "^2.85.1", "minecraft-folder-path": "^1.1.0", "node-fetch": "^2.6.1", "node-rsa": "^0.4.2", @@ -11800,9 +11800,9 @@ } }, "minecraft-protocol": { - "version": "1.25.0", - "resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.25.0.tgz", - "integrity": "sha512-xAyjw03t/sKv7xBk4AxZnLMv5G/cJuXExAMtpK1lxZ5ILHfJObtz9m12tc1eiR7nXkoBgyUQptTZX81OWXyFtQ==", + "version": "1.26.5", + "resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.26.5.tgz", + "integrity": "sha512-PKYUeyG+mb4MkwWbX4XrQ5SG5B4PDE6XF3Fm+z1iRwGck23DFVV3hxRHkUqBUxe0TxKrOXKGzhvT+vn541QHOw==", "requires": { "@azure/msal-node": "^1.0.0-beta.3", "@xboxreplay/xboxlive-auth": "^3.3.3", @@ -11812,7 +11812,7 @@ "endian-toggle": "^0.0.0", "lodash.get": "^4.1.2", "lodash.merge": "^4.3.0", - "minecraft-data": "^2.70.0", + "minecraft-data": "^2.85.1", "minecraft-folder-path": "^1.1.0", "node-fetch": "^2.6.1", "node-rsa": "^0.4.2", diff --git a/src/index.js b/src/index.js index 9c649c8..b8f8417 100644 --- a/src/index.js +++ b/src/index.js @@ -134,7 +134,8 @@ function createWindow() { resizable: false, // frame: false, webPreferences: { - nodeIntegration: true + nodeIntegration: true, + enableRemoteModule: true }, icon: resourcesPath + 'icons/icon.png' })