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