Skip to content

Commit

Permalink
增加默认需要管理员权限
Browse files Browse the repository at this point in the history
--uac-admin
  • Loading branch information
ccc007ccc committed Jul 22, 2024
1 parent 8993542 commit 4634535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build-Pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
venv\Scripts\activate
cd temp_build
pyinstaller --clean --onefile --name zzz-snake.exe start.py
pyinstaller -D --uac-admin --clean --onefile --name zzz-snake.exe start.py
# 第七步:将生成的可执行文件移动到输出目录
- name: 移动可执行文件到输出目录
Expand Down

0 comments on commit 4634535

Please sign in to comment.