Remove unnessesary files, update .gitignore, add README.md

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2022-08-29 23:10:10 +07:00
parent f935ba9bd2
commit 3a71eb9fdb
4 changed files with 21 additions and 42 deletions

2
.gitignore vendored
View File

@@ -2,3 +2,5 @@ __pycache__
build build
dist dist
upx upx
venv
*.spec

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Перезагрузка компьютеров из списка через 60 секунд
Использовано:
- Python 3.10.2
- Pyinstaller 4.10
- Немножечко мозгов и скилла
---
Запуск:
```
python main.py
```
---
Сборка:
```
pyinstaller --clean --console --onefile --upx-dir=upx\ --name comp_auto_restart main.py
```

View File

@@ -1,2 +0,0 @@
@echo off
pyinstaller build.spec --upx-dir=upx\

View File

@@ -1,40 +0,0 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='Scheduled computer restart',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None)