mirror of
https://github.com/JDM170/comp_auto_restart
synced 2024-10-25 13:43:54 +07:00
* Some refactor in main.py, filesio.py * Fix settings.json * Update README.md * Fix indents in .gitmodules Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
32 lines
604 B
Markdown
32 lines
604 B
Markdown
# Перезагрузка компьютеров из списка через 60 секунд
|
||
Использовано:
|
||
- Python 3.10.2
|
||
- Pyinstaller 4.10
|
||
- Немножечко мозгов и скилла
|
||
|
||
---
|
||
|
||
Клонирование:
|
||
```
|
||
git clone https://github.com/JDM170/comp_auto_restart.git --recurse-submodules
|
||
```
|
||
|
||
---
|
||
|
||
Запуск:
|
||
```
|
||
python main.py
|
||
```
|
||
|
||
---
|
||
|
||
Сборка (без UPX):
|
||
```
|
||
pyinstaller --clean --console --onefile --name comp_auto_restart main.py
|
||
```
|
||
|
||
Сборка (с UPX):
|
||
```
|
||
pyinstaller --clean --console --onefile --upx-dir=upx\ --name comp_auto_restart main.py
|
||
```
|