Fix sanity check in openasar injector
This commit is contained in:
parent
7d90433a9a
commit
271c4bfc92
@ -92,7 +92,9 @@ def sanity_check():
|
|||||||
print("Would you like to clear backups? (y/n)")
|
print("Would you like to clear backups? (y/n)")
|
||||||
answer = input().lower()
|
answer = input().lower()
|
||||||
if answer == "y":
|
if answer == "y":
|
||||||
|
if os.path.isfile(RESOURCES_PATH + ASAR_BACKUP):
|
||||||
os.remove(RESOURCES_PATH + ASAR_BACKUP)
|
os.remove(RESOURCES_PATH + ASAR_BACKUP)
|
||||||
|
print("Backup cleared, installation will continue as normal")
|
||||||
print("Backups cleared, installation will continue as normal")
|
print("Backups cleared, installation will continue as normal")
|
||||||
else:
|
else:
|
||||||
print("Backups not cleared, please clean manually")
|
print("Backups not cleared, please clean manually")
|
||||||
|
Loading…
Reference in New Issue
Block a user