修复win构建

pull/1686/head
lyswhut 2023-11-11 13:20:58 +08:00
parent 41fc46c8b5
commit 3e31a78af1
2 changed files with 14 additions and 1 deletions

View File

@ -105,6 +105,9 @@ jobs:
- name: Install old electron
run: npm install electron@22
- name: Install python setuptools
run: pip.exe install setuptools
- name: Build Package win7 7z x64
run: npm run pack:win7:7z:x64
- name: Upload Artifact win7 7z x64
@ -134,7 +137,7 @@ jobs:
- name: Check out git repository
uses: actions/checkout@v3
- name: Install python3 setuptools
- name: Install python setuptools
run: python3 -m pip install setuptools
- name: Install Node.js

View File

@ -75,7 +75,17 @@ jobs:
npm run publish:win:7z:arm64
npm run publish:win:setup:arm64
npm run publish:win:setup:x64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BT_TOKEN: ${{ secrets.BT_TOKEN }}
- name: Prepare win7 electron env
run: |
npm install electron@22
pip.exe install setuptools
- name: Release win7 package
run: |
npm run publish:win7:7z:x64
npm run publish:win7:7z:x86
env: