mirror of
https://github.com/black-ant/Ant-Browser.git
synced 2026-07-14 18:48:55 +08:00
channel: master version: 1.0.0 source-ref: master published-at-utc: 2026-03-13T15:19:28Z
44 lines
537 B
Markdown
44 lines
537 B
Markdown
# bat
|
|
|
|
## 用途
|
|
|
|
- `dev.bat`:本地开发启动
|
|
- `build.bat`:本地构建可执行文件
|
|
- `publish.bat`:打包发布安装包
|
|
|
|
## 用法
|
|
|
|
### `dev.bat`
|
|
|
|
适合日常开发。
|
|
|
|
```bat
|
|
bat\dev.bat
|
|
```
|
|
|
|
### `build.bat`
|
|
|
|
构建 `build\bin\ant-chrome.exe`。
|
|
|
|
```bat
|
|
bat\build.bat
|
|
```
|
|
|
|
### `publish.bat`
|
|
|
|
生成安装包,需要先安装 NSIS。
|
|
|
|
```bat
|
|
bat\publish.bat
|
|
```
|
|
|
|
产物:
|
|
|
|
```text
|
|
publish\output\AntBrowser-Setup-<version>.exe
|
|
```
|
|
|
|
## 备注
|
|
|
|
- `generate-bindings.bat` 是辅助脚本,通常由 `build.bat` 调用。
|