mirror of
https://github.com/yshtcn/heartbeat.git
synced 2025-12-11 16:50:25 +08:00
增加自动安装pyinstaller,并修改说明
This commit is contained in:
parent
dcc22a23c6
commit
0f66e5128c
@ -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。
|
||||
|
||||
|
||||
## 授权信息
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
@echo off
|
||||
title "AutoPyInstaller:安装升级pyinstaller"
|
||||
:: 安装/更新pyinstaller(注意:不希望自动安装/更新pyinstaller记得注释掉)
|
||||
pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
|
||||
:: 更新标题
|
||||
title "AutoPyInstaller:初始化"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user