mihomo-cli 2.8.0 → 2.8.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.8.1] - 2026-05-07
4
+
5
+ ### 修复
6
+
7
+ - **stop/down 不再误触 sudo** - 非 TUN 模式启动的进程停止时不再提示输入 root 密码
8
+
9
+ ---
10
+
3
11
  ## [2.8.0] - 2026-05-05
4
12
 
5
13
  ### 新功能
package/dist/index.js CHANGED
@@ -5777,7 +5777,7 @@ async function cmdStop() {
5777
5777
  return;
5778
5778
  }
5779
5779
  console.log(`\u505C\u6B62 ${pids.length} \u4E2A\u8FDB\u7A0B...`);
5780
- const result = stop(true);
5780
+ const result = stop();
5781
5781
  if (result.remaining && result.remaining.length > 0) {
5782
5782
  console.error(`${colors.red("\u90E8\u5206\u8FDB\u7A0B\u672A\u7EC8\u6B62:")} ${result.remaining.join(", ")}`);
5783
5783
  console.error("\u8BF7\u624B\u52A8\u8FD0\u884C: sudo pkill -9 mihomo");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mihomo-cli",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "type": "module",
5
5
  "description": "A terminal-based mihomo (Clash.Meta) client for macOS",
6
6
  "bin": {