mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
feat: 新增文件断点续传功能
1. 新增自动删除空文件夹功能 2. 引入 aiofiles 库 3. 修正 Actions 错误 Closes #142 Closes #143
This commit is contained in:
6
.github/workflows/executable_build.yml
vendored
6
.github/workflows/executable_build.yml
vendored
@@ -29,7 +29,11 @@ jobs:
|
||||
|
||||
- name: 构建可执行文件
|
||||
run: |
|
||||
pyinstaller --icon=/static/images/TikTokDownloader.ico --add-data "static;static" --add-data "templates;templates" main.py
|
||||
if [ "$RUNNER_OS" = "Windows" ]; then
|
||||
pyinstaller --icon=./static/XHS-Downloader.ico --add-data "static;static" --add-data "locale;locale" .\main.py
|
||||
else
|
||||
pyinstaller --icon=./static/XHS-Downloader.ico --add-data "static:static" --add-data "locale:locale" main.py
|
||||
fi
|
||||
|
||||
- name: 上传文件
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user