@@ -19,10 +19,13 @@ class Dummy:
1919 RESET = RED = WHITE = GREEN = LIGHTBLACK_EX = BRIGHT = ''
2020 Fore = Style = Dummy ()
2121
22+ patcher_version = "v3.0.0"
23+
2224RED = Fore .RED + Style .BRIGHT
2325WHITE = Fore .WHITE + Style .BRIGHT
2426GREY = Fore .LIGHTBLACK_EX + Style .NORMAL
2527GREEN = Fore .GREEN + Style .BRIGHT
28+ YELLOW = Fore .YELLOW + Style .BRIGHT
2629RESET = Style .RESET_ALL
2730
2831def is_admin ():
@@ -93,7 +96,7 @@ def replace_signkey_in_file(file_path, old_signkey, new_signkey):
9396 new_signkey_bytes = bytes .fromhex (new_signkey )
9497 if old_signkey_bytes not in content :
9598 if new_signkey_bytes in content :
96- print (WHITE + "The new signkey is already present in the file. Ableton is already patched." + RESET )
99+ print (YELLOW + "The new signkey is already present in the file. Ableton is already patched." + RESET )
97100 else :
98101 print (RED + "Neither the old nor the new signkey was found in the file. You may be running an unsupported version or a different patch." + RESET )
99102 else :
@@ -243,7 +246,9 @@ def main():
243246 \/ \/ \/ \/ \/ \/ \/ \/ \/
244247 """ + RESET )
245248 print (WHITE + "Made by " + RED + "devilAPI" + RESET )
249+ print (WHITE + "Version: " + RED + patcher_version + RESET )
246250 print (WHITE + "GitHub: " + GREY + "https://github.com/devilAPI/abletonCracker/" + RESET + "\n " )
251+ print (YELLOW + "NOTE: Make sure Ableton Live is not running while patching." + RESET )
247252
248253 config_file = 'config.json'
249254 try :
0 commit comments