Skip to content

Commit 2a1fd5e

Browse files
authored
Update build.yml
1 parent 38c2018 commit 2a1fd5e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
3030
- name: Build with PyInstaller
3131
run: >
32-
pyinstaller --onefile main.py \
33-
--name TextAutoTranslate \
34-
--distpath dist/TextAutoTranslate \
35-
--workpath .pyinstaller-cache \
36-
--specpath .pyinstaller-cache \
37-
--hidden-import=urllib3.contrib.resolver.system \
38-
--hidden-import=urllib3.contrib.hface.protocols.http1 \
39-
--hidden-import=urllib3.contrib.hface.protocols.http2 \
40-
--hidden-import=urllib3.contrib.hface.protocols.http3 \
41-
--noconsole
32+
pyinstaller --onefile main.py
33+
--name TextAutoTranslate
34+
--distpath dist/TextAutoTranslate
35+
--workpath .pyinstaller-cache
36+
--specpath .pyinstaller-cache
37+
--hidden-import=urllib3.contrib.resolver.system
38+
--hidden-import=urllib3.contrib.hface.protocols.http1
39+
--hidden-import=urllib3.contrib.hface.protocols.http2
40+
--hidden-import=urllib3.contrib.hface.protocols.http3
41+
--noconsole
4242
4343
- name: Upload Artifacts
4444
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)