-
Notifications
You must be signed in to change notification settings - Fork 0
/
installer.py
261 lines (229 loc) · 11.3 KB
/
installer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
import wget
import os
import keyboard
import time
import requests
from termcolor import colored, cprint
import subprocess
from func.funcs import *
from func.api.update import *
# REMEMBER TO NAME THE NEW VERSION
# Create the 'downloads' folder if it doesn't exist
if not os.path.exists("downloads"):
os.makedirs("downloads")
def open_subfolder(subfolder_name):
# Get the directory of the current script
current_directory = os.path.dirname(os.path.abspath(__file__))
# Construct the path to the subfolder
subfolder_path = os.path.join(current_directory, subfolder_name)
try:
# Open the subfolder in file explorer
subprocess.Popen(['explorer', subfolder_path], shell=True)
except OSError:
print(f"Subfolder '{subfolder_name}' not found.")
# Example usage:
subfolder_name = "downloads" # Adjusted to match the subfolder name
# Autoclicker
file_to_run = "/apps/main.exe"
def custom():
try:
# Ask the user to provide a link
url = input(colored("\n[ Direct link ] : ", 'white'))
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", 'white')
time.sleep(2)
shortcuts()
except Exception as e:
# Handle the error gracefully
cprint(f"\n[ ERROR ] An error occurred during the download: {e}", ' white')
# Optionally, you can log the error, display a user-friendly message, or attempt to recover
def shortcuts():
import os
os.system("cls")
watermark()
# Define colors
color_normal = 'white'
color_broken = 'light_red'
color_unfinished = 'light_yellow'
# Print border and title
cprint("╔══════════════════════════════════════════════════╗", color_normal)
cprint("║ Shortcuts ║", color_normal)
cprint("╠══════════════════════════════════════════════════╣", color_normal)
# Print options
cprint("║ [01] Roblox" , color_normal)
cprint("║ [02] Opera GX", color_normal)
cprint("║ [03] Discord", color_normal)
cprint("║ [04] Minecraft [ Titan Launcher, Unfinished ]", color_unfinished)
cprint("║ [05] Skype", color_normal)
cprint("║ [06] Autoclicker [ Unfinished ]", color_unfinished)
cprint("║ [07] Macro", color_normal)
cprint("║ [08] Games [ Unfinished ]", color_unfinished)
cprint("║", color_normal)
cprint("║ [0] Custom", color_normal)
cprint("║", color_normal)
cprint("║ [00] Open Download Folder", color_normal)
# Print bottom border
cprint("╚══════════════════════════════════════════════════╝", color_normal)
nummer = input(colored("\n[ Number ] : ", 'white'))
if nummer == "01":
os.system("cls")
watermark()
print("╔══════════════════════════════════════════════════╗")
cprint("║ Roblox ║", color_normal)
print("╠══════════════════════════════════════════════════╣")
cprint("║ [01] Roblox Player", color_normal)
cprint("║ [02] Roblox Fps Unlocker [ Always Latest ]", color_normal)
cprint("║", color_normal)
cprint("║ [0] Back", color_normal)
print("╚══════════════════════════════════════════════════╝")
roblox = input(colored("\n[ Number ] : ", color_normal))
os.system("cls")
watermark()
if roblox == "01":
url = "http://setup.rbxcdn.com/Roblox.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", color_normal)
time.sleep(2)
shortcuts()
elif roblox == "02":
url = "https://github.com/axstin/rbxfpsunlocker/releases/download/v5.2/rbxfpsunlocker-x64.zip"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", color_normal)
time.sleep(2)
shortcuts()
elif roblox == "0":
shortcuts()
if nummer == "02":
os.system("cls")
watermark()
url = "https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/browsers/OperaGXPortable_107.0.5045.60.paf.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", 'white')
time.sleep(2)
shortcuts()
if nummer == "03":
os.system("cls")
watermark()
url = "https://github.com/portapps/discord-portable/releases/download/1.0.9028-17/discord-portable-win32-1.0.9028-17-setup.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", 'white')
time.sleep(2)
shortcuts()
if nummer == "04":
os.system("cls")
watermark()
url = "https://git-link.vercel.app/api/download?url=https%3A%2F%2Fgithub.com%2FBink-lab%2Fshortcuts%2Fblob%2Fmain%2FMinecraft-Launcher.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: TitanLauncher.exe", 'white')
time.sleep(2)
shortcuts()
if nummer == "05":
os.system("cls")
watermark()
url = "https://github.com/portapps/skype-portable/releases/download/8.110.0.218-97/skype-portable-win32-8.110.0.218-97-setup.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", 'white')
time.sleep(2)
shortcuts()
if nummer == "06":
os.system("cls")
watermark()
url = "https://github.com/Bink-lab/Installer/raw/main/Components/autoclicker.exe"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", 'white')
time.sleep(2)
shortcuts()
if nummer == "07":
os.system("cls")
watermark()
cprint("╔══════════════════════════════════════════════════╗", color_normal)
cprint("║ Macro ║", color_normal)
cprint("╠══════════════════════════════════════════════════╣", color_normal)
cprint("║ [01] TG Macro", color_normal)
cprint("║", color_normal)
cprint("║ [0] Back", color_normal)
cprint("╚══════════════════════════════════════════════════╝", color_normal)
macro = input("\n[ Number ] : ")
if macro == "01":
os.system("cls")
watermark()
url = "https://tgmacro.org/portable.zip"
filename = wget.download(url, out="downloads")
cprint(f"\n\n[ INFO ] File downloaded: {filename}", color_normal)
time.sleep(2)
shortcuts()
elif macro == "0":
shortcuts()
if nummer == "08":
os.system("cls")
watermark()
cprint("╔════════════════════════════════════════════════════════════╗", color_normal)
cprint("║ Games ║", color_normal)
cprint("╠════════════════════════════════════════════════════════════╣", color_normal)
cprint("║ [01] 'Bloons TD 6' [ Dual Servers ]", color_normal)
cprint("║ [02] 'Thats not my neighbor' [ Dual Servers ] ", color_normal)
cprint("║ [03] 'Grand Theft Auto - San Andreas' [ Dual Servers ] [ Might not work on pc's w/o administrator ] ", color_normal)
cprint("║ [04] 'Demon Slayer - Kimetsu No Yaiba' [ Single Server, Controller Needed ] ", color_unfinished)
cprint("║ [05] 'Demon Slayer - Kimetsu No Yaiba' [ Test Server ] ", color_unfinished)
cprint("║", color_normal)
cprint("║ [0] Back", color_normal)
cprint("╚════════════════════════════════════════════════════════════╝", color_normal)
games = input(colored("\n[ Number ] : ", color_normal))
os.system("cls")
watermark()
if games == "01":
os.system("cls")
watermark()
url_list = ["https://dl.bzzhr.co/1780649439596244992", "https://dl.buzzheavier.com/1780612802420314112"] # BLOONS TD 6
download_file(url_list, "Bloons-TD-6.zip")
shortcuts()
elif games == "02":
os.system("cls")
watermark()
url_list = ["https://dl.bzzhr.co/1780647335431368704", "https://dl.buzzheavier.com/1780650490968051712"] # THATS NOT MY NEIGHBOR
download_file(url_list, "Thats-Not-My-Neighbor.zip")
shortcuts()
elif games == "03":
os.system("cls")
watermark()
url_list = ["https://dl.bzzhr.co/1781032464892948480", "https://dl.buzzheavier.com/1780652804877488128"] # GTA SAN ANDREAS
download_file(url_list, "Grand-Theft-Auto-San-Andreas.zip")
shortcuts()
elif games == "04":
os.system("cls")
watermark()
url_list = ["https://dl.bzzhr.co/1781039510795186176", ""] # DEMON SLAYER
download_file(url_list, "Demon-Slayer-Kimetsu-No-Yaiba-EMU.zip")
shortcuts()
elif games == "5":
game_name = "demonslayerkimetsunoyaiba"
filename = "Demon-Slayer-Kimetsu-No-Yaiba-EMU.zip"
elif games == "0":
shortcuts()
download_file(game_name, filename)
if nummer == "00":
os.system("cls")
# Code to open the directory
directory = os.path.join(os.getcwd(), "downloads") # Get the path to the "downloads" directory
subprocess.Popen(f'explorer "{directory}"') # Open directory in file explorer
shortcuts()
if nummer == "0":
os.system("cls")
watermark()
custom()
else:
os.system("cls")
watermark()
cprint("\n[ INFO ] Invalid option", 'white')
time.sleep(1)
os.system("cls")
shortcuts()
def udc():
# Check for updates
os.system("cls")
watermark2()
cprint("\n[ INFO ] Checking for updates... ]", 'white')
github()
shortcuts()
#udc()
shortcuts()