Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugins/wechat-multiopen/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
dist/
.cache/
*.log
*.zip
*.zpx
7 changes: 7 additions & 0 deletions plugins/wechat-multiopen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

## v1.0.0

- Add WeChat multi-open commands for ZTools.
- Add configurable Weixin.exe path.
- Add two-instance quick launch and custom instance count launch.
38 changes: 38 additions & 0 deletions plugins/wechat-multiopen/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 微信多开

用于 ZTools 的 Windows 微信多开插件。

## 功能

- `微信多开设置`:选择微信主程序 `Weixin.exe`。
- `微信双开`:快速启动两个微信。
- `微信多开`:进入单独页面,输入要启动的微信数量。

## 截图

![主界面](screenshots/main.png)

![自定义数量](screenshots/custom-count.png)

![搜索结果](screenshots/search.png)

## 开发

```bash
npm install
npm run dev
```

在 ZTools 开发插件中选择:

```text
public/plugin.json
```

## 构建

```bash
npm run build
```

构建后会在 `dist` 目录生成可加载的插件资源。
11 changes: 11 additions & 0 deletions plugins/wechat-multiopen/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading
Loading