Skip to content

Commit bc9c421

Browse files
try fix: exe 构建无法使用
1 parent 9ecbcc7 commit bc9c421

File tree

3 files changed

+3
-126
lines changed

3 files changed

+3
-126
lines changed

.github/workflows/build_and_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737
- name: Build for Windows
3838
if: matrix.os == 'windows-latest'
3939
run: |
40-
poetry add pyinstaller
40+
poetry install
4141
poetry run pyinstaller --strip -F -i logo.ico -n ${{ matrix.artifact_name }} main.py
4242
mv dist/${{ matrix.artifact_name }} .
4343
4444
- name: Build for Linux x86_64
4545
if: matrix.os == 'ubuntu-latest'
4646
run: |
47-
poetry add pyinstaller
47+
poetry install
4848
poetry run pyinstaller --strip -F -n ${{ matrix.artifact_name }} main.py
4949
mv dist/${{ matrix.artifact_name }} .
5050

poetry.lock

Lines changed: 1 addition & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ python = ">=3.10,<3.13"
1515
colorama = "^0.4.6"
1616
pyspeedtest = "1.2.7"
1717
aiohttp = "^3.9.3"
18-
python-socketio = "5.11.1"
1918
flask = "^3.0.2"
2019
websocket-client = "^1.7.0"
2120
pyyaml = "6.0.1"

0 commit comments

Comments
 (0)