@whuanle/easytouch-windows 1.0.1 → 1.0.2

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 (3) hide show
  1. package/et-launcher.js +20 -0
  2. package/et.exe +0 -0
  3. package/package.json +4 -2
package/et-launcher.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { spawn } = require('child_process');
4
+ const fs = require('fs');
5
+ const path = require('path');
6
+
7
+ const binaryPath = path.join(__dirname, 'et.exe');
8
+
9
+ if (!fs.existsSync(binaryPath)) {
10
+ console.error('EasyTouch binary not found: et.exe');
11
+ process.exit(1);
12
+ }
13
+
14
+ const child = spawn(binaryPath, process.argv.slice(2), {
15
+ stdio: 'inherit',
16
+ windowsHide: false
17
+ });
18
+
19
+ child.on('exit', (code) => process.exit(code ?? 0));
20
+ child.on('error', () => process.exit(1));
package/et.exe CHANGED
File without changes
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@whuanle/easytouch-windows",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Windows system automation tool with MCP support",
5
5
  "author": "MaomiAgent Team",
6
6
  "license": "MIT",
7
7
  "main": "et.exe",
8
8
  "bin": {
9
- "et": "et.exe"
9
+ "et": "et-launcher.js",
10
+ "easytouch": "et-launcher.js"
10
11
  },
11
12
  "os": [
12
13
  "win32"
@@ -32,6 +33,7 @@
32
33
  },
33
34
  "files": [
34
35
  "et.exe",
36
+ "et-launcher.js",
35
37
  "SKILL.md"
36
38
  ],
37
39
  "repository": {