Skip to content

Commit

Permalink
添加自动更具web库构建exe,并发布
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Jan 9, 2024
1 parent d4d08fc commit ca7e9ae
Show file tree
Hide file tree
Showing 83 changed files with 21 additions and 724 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,30 @@ jobs:
pip install pyinstaller
pip install -r requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 20

- name: Build Web UI
run: |
cd ..
git clone https://github.com/xaoyaoo/wxdump_web.git
cd wxdump_web
npm install
npm run build
- name: copy web ui to pywxdump/ui/web
cd ..
ls -l wxdump_web/dist
cp -r wxdump_web/dist PyWxDump/pywxdump/ui/web
ls -l PyWxDump/pywxdump/ui/web
cd PyWxDump

- name: Build package
run: |
python -m build
pip install -U .
python tests/build_exe.py
- name: Generate File pywxdump.spec
run: |
Expand Down
2 changes: 1 addition & 1 deletion pywxdump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
VERSION_LIST = {}
VERSION_LIST_PATH = None

__version__ = "2.4.9"
__version__ = "2.4.10"
24 changes: 0 additions & 24 deletions pywxdump/ui/web/assets/AboutView--cnbKyym.js

This file was deleted.

24 changes: 0 additions & 24 deletions pywxdump/ui/web/assets/AboutView-CSBYkAXG.js

This file was deleted.

Loading

0 comments on commit ca7e9ae

Please sign in to comment.