build: 进行 macOS 适配,更新图标资源并升级项目版本

- 移除旧的图标资源,更新为新的图标
- 更新项目版本号至 0.2.1
- 修改 README 中的环境搭建说明,增加 macOS 支持
This commit is contained in:
himeditator mac
2025-07-08 13:27:44 +08:00
parent 1965bbfee7
commit 65da30f83d
11 changed files with 51 additions and 34 deletions

View File

@@ -102,7 +102,10 @@ npm install
首先进入 `caption-engine` 文件夹,执行如下指令创建虚拟环境:
```bash
# in ./caption-engine folder
python -m venv subenv
# or
python3 -m venv subenv
```
然后激活虚拟环境:
@@ -110,11 +113,11 @@ python -m venv subenv
```bash
# Windows
subenv/Scripts/activate
# Linux
# Linux or macOS
source subenv/bin/activate
```
然后安装依赖(注意如果是 Linux 环境,需要注释掉 `requirements.txt` 中的 `PyAudioWPatch`,该模块仅适用于 Windows 环境)
然后安装依赖(注意如果是 Linux 或 macOS 环境,需要注释掉 `requirements.txt` 中的 `PyAudioWPatch`,该模块仅适用于 Windows 环境)。这一步可能会报错,一般是因为构建失败,需要根据报错信息安装对应的构建工具包。
```bash
pip install -r requirements.txt