@wendongfly/myhi 1.0.29 → 1.0.30

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/bin/myhi.js +1 -0
  2. package/package.json +1 -1
package/bin/myhi.js CHANGED
@@ -143,6 +143,7 @@ if (cmd === 'attach') {
143
143
  console.log('示例: myhi user add 1234 张三 D:\\project\\app1');
144
144
  process.exit(1);
145
145
  }
146
+ mkdirSync(dir, { recursive: true });
146
147
  const data = loadUsersFile();
147
148
  data.users[pwd] = { name, dir };
148
149
  saveUsersFile(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wendongfly/myhi",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Web-based terminal sharing with chat UI — control your terminal from phone via LAN/Tailscale",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",