增加自动安装pyinstaller,并修改说明

This commit is contained in:
yshtcn 2023-09-06 22:47:10 +08:00
parent dcc22a23c6
commit 0f66e5128c
2 changed files with 8 additions and 5 deletions

View File

@ -87,11 +87,9 @@ start pythonw heartbeat.py
```
### 打包成exe
1. 在确保已经安装python 的情况下使用命令行执行以下命令以安装PyInstaller
```
pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple
```
2. 根据你的需要修改heartbeat_pyinstaller.bat并执行它。
1. 根据你的需要修改heartbeat_pyinstaller.bat,特别是如果你不希望自动更新你的pyinstaller
2. 执行heartbeat_pyinstaller.bat。
## 授权信息

View File

@ -1,4 +1,9 @@
@echo off
title "AutoPyInstaller安装升级pyinstaller"
:: 安装/更新pyinstaller(注意:不希望自动安装/更新pyinstaller记得注释掉
pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple
:: 更新标题
title "AutoPyInstaller初始化"