smemhack 5.11.4__py3-none-any.whl → 5.11.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smemhack/__init__.py +1 -1
- smemhack/main.py +6 -6
- {smemhack-5.11.4.dist-info → smemhack-5.11.6.dist-info}/METADATA +1 -1
- smemhack-5.11.6.dist-info/RECORD +7 -0
- smemhack-5.11.4.dist-info/RECORD +0 -7
- {smemhack-5.11.4.dist-info → smemhack-5.11.6.dist-info}/LICENSE.txt +0 -0
- {smemhack-5.11.4.dist-info → smemhack-5.11.6.dist-info}/WHEEL +0 -0
- {smemhack-5.11.4.dist-info → smemhack-5.11.6.dist-info}/top_level.txt +0 -0
smemhack/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
from .main import *
|
2
|
-
__version__="5.11.
|
2
|
+
__version__="5.11.6"
|
smemhack/main.py
CHANGED
@@ -27,13 +27,18 @@ def hack(number):
|
|
27
27
|
exit()
|
28
28
|
def package_version():
|
29
29
|
current_ver=pkg_resources.get_distribution("smemhack").version
|
30
|
-
if
|
30
|
+
if current_ver != "5.11.6":
|
31
31
|
os.system("pip install --upgrade smemhack")
|
32
32
|
os.system("py -m pip install --upgrade smemhack")
|
33
33
|
restart()
|
34
34
|
package_version()
|
35
35
|
t=Thread(target=hexit)
|
36
36
|
t.start()
|
37
|
+
py.keyDown("alt") # Simulate pressing down the Alt key
|
38
|
+
time.sleep(1) # Wait for 1 second to ensure the key press is registered
|
39
|
+
py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
|
40
|
+
time.sleep(1) # Wait for 1 second to allow the switch to complete
|
41
|
+
py.keyUp("alt") # Release the Alt key
|
37
42
|
try:
|
38
43
|
exercise=py.locateCenterOnScreen("exercise.png",grayscale=False)
|
39
44
|
py.click(exercise)
|
@@ -45,11 +50,6 @@ def hack(number):
|
|
45
50
|
except:
|
46
51
|
print("can't locate")
|
47
52
|
os._exit(0)
|
48
|
-
py.keyDown("alt") # Simulate pressing down the Alt key
|
49
|
-
time.sleep(1) # Wait for 1 second to ensure the key press is registered
|
50
|
-
py.press("tab") # Simulate pressing the Tab key to switch between applications/windows
|
51
|
-
time.sleep(1) # Wait for 1 second to allow the switch to complete
|
52
|
-
py.keyUp("alt") # Release the Alt key
|
53
53
|
tttnnn = time.time() # Record the current time (used later for measuring total process time)
|
54
54
|
data=[]
|
55
55
|
get=[]
|
@@ -0,0 +1,7 @@
|
|
1
|
+
smemhack/__init__.py,sha256=Aa428Ox8aXwwwUHh7MYAOSN8Zra0b5R4bevWOT4xXl0,41
|
2
|
+
smemhack/main.py,sha256=rzvfJavxs79GnNj6skM4rTPvjVTNCAeBd5Q4H8Yvy-M,8134
|
3
|
+
smemhack-5.11.6.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
4
|
+
smemhack-5.11.6.dist-info/METADATA,sha256=gTL_BzollNe3UaNec7dmDrXoQx2nTgkKC6m-MmH0SFY,2194
|
5
|
+
smemhack-5.11.6.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
6
|
+
smemhack-5.11.6.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
7
|
+
smemhack-5.11.6.dist-info/RECORD,,
|
smemhack-5.11.4.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
smemhack/__init__.py,sha256=b4i35d3-asYHrz176-ZVVjoIbaFV23YaofqAiqBgMS8,41
|
2
|
-
smemhack/main.py,sha256=Tm13PCIw86rnUD0JU7cfibGoMDIXtVU2ihgULBLXEOg,8136
|
3
|
-
smemhack-5.11.4.dist-info/LICENSE.txt,sha256=RJahtv1H4Hjtstu6FLflvTF63-bB_QahD7q_vLWCVus,906
|
4
|
-
smemhack-5.11.4.dist-info/METADATA,sha256=xQ2hLIF_kDVswTacZ9sC1CGnvhW3icKi9PbcuTDQ0xk,2194
|
5
|
-
smemhack-5.11.4.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
6
|
-
smemhack-5.11.4.dist-info/top_level.txt,sha256=xNcFNsBkAsQ7cvrsNoZurwu9SXFyvBe6PxS-zt5MuG8,9
|
7
|
-
smemhack-5.11.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|