Skip to content

Add plugin Windows 端口占用 v1.0.0#205

Open
hxxxy wants to merge 3 commits into
ZToolsCenter:mainfrom
hxxxy:plugin/port-use-win
Open

Add plugin Windows 端口占用 v1.0.0#205
hxxxy wants to merge 3 commits into
ZToolsCenter:mainfrom
hxxxy:plugin/port-use-win

Conversation

@hxxxy
Copy link
Copy Markdown

@hxxxy hxxxy commented May 19, 2026

插件信息

  • 名称: Windows 端口占用
  • 插件ID: port-use-win
  • 版本: 1.0.0
  • 描述: 使用 pwsh 查询 Windows 端口占用并支持搜索进程名、PID、地址和端口
  • 作者: N/A
  • 类型: 新增

本次变更

  • Initial commit

截图 / 演示

3a897eaa2881d08291eaa77e9f031524 fffb03284b97db33d9f7a091d95fcbba

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/port-use-win/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 在分支上追加一个 commit,PR 链接保持不变。

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new ZTools plugin named 'port-use-win' designed to query and manage Windows port usage. The implementation uses Vue 3 and a PowerShell-based backend. The review suggests improving cross-environment compatibility by adding a fallback to powershell.exe, enhancing robustness by adding error handling for JSON parsing, enabling strict mode in TypeScript configuration, updating the placeholder README, and providing author information in the plugin configuration.

Comment thread plugins/port-use-win/public/preload/services.js Outdated
Comment thread plugins/port-use-win/README.md Outdated
Comment thread plugins/port-use-win/tsconfig.json Outdated
Comment thread plugins/port-use-win/public/plugin.json Outdated
Comment thread plugins/port-use-win/public/preload/services.js Outdated
hxxxy added 2 commits May 19, 2026 14:18
- Initial commit
- Address publish review feedback
- Initial commit
- Address publish review feedback
- feat: unify port search fuzzy matching
@hxxxy hxxxy marked this pull request as ready for review May 19, 2026 06:50
@lzx8589561
Copy link
Copy Markdown
Contributor

佬,需要更换个图标,不能使用默认图标,可以使用ai生成svg图标转png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants