mirroir-mcp 0.33.3 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.js +8 -5
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -8,7 +8,7 @@ const fs = require("fs");
8
8
  const path = require("path");
9
9
  const { execSync } = require("child_process");
10
10
 
11
- const VERSION = "0.24.0";
11
+ const VERSION = "0.35.0";
12
12
  const REPO = "jfarcand/mirroir-mcp";
13
13
  const BINARY = "mirroir-mcp";
14
14
 
@@ -82,11 +82,14 @@ function verifyChecksum(tarball, filePath, cb) {
82
82
  .map((line) => line.split(/\s+/)[0])[0];
83
83
 
84
84
  if (!expectedHash) {
85
- console.warn(
86
- `Warning: no checksum found for ${tarball} in SHA256SUMS, skipping verification`
85
+ console.error(
86
+ `No checksum found for ${tarball} in SHA256SUMS — refusing to install an unverified binary.`
87
+ );
88
+ console.error(
89
+ "Install from source instead: https://github.com/" + REPO
87
90
  );
88
- cb();
89
- return;
91
+ fs.unlinkSync(filePath);
92
+ process.exit(1);
90
93
  }
91
94
 
92
95
  const fileBuffer = fs.readFileSync(filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mirroir-mcp",
3
- "version": "0.33.3",
3
+ "version": "0.35.0",
4
4
  "description": "MCP server that controls a real iPhone through macOS iPhone Mirroring. Screenshot, tap, swipe, type — from any MCP client.",
5
5
  "mcpName": "io.github.jfarcand/mirroir-mcp",
6
6
  "license": "Apache-2.0",