Draft #250

Closed
huakim wants to merge 66 commits from main into main
Showing only changes of commit 589873f749 - Show all commits
+5 -5
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
try: try:
from InquirerPy import inquirer from InquirerLib.InquirerPy import inquirer
from InquirerPy.base.control import Choice from InquirerLib.InquirerPy.base.control import Choice
from InquirerPy.separator import Separator from InquirerLib.InquirerPy.separator import Separator
except ModuleNotFoundError: except ModuleNotFoundError:
inquirer = None inquirer = None
import argparse import argparse
@@ -185,7 +185,7 @@ def hack_option(args):
def interact(): def interact():
if inquirer is None: if inquirer is None:
print('Please, install InquirerPy module first') print('Please, install InquirerLib module first')
return return
os.system("clear") os.system("clear")
android_version = inquirer.select( android_version = inquirer.select(
@@ -217,7 +217,7 @@ def interact():
hack_choices = [] hack_choices = []
if android_version == "11": if android_version == "11":
install_choices.extend(["widevine"]) install_choices.extend(["widevine"])
hack_choices.extend(["nodataperm", "hidestatusbar"]) hack_choices.extend(["nodataperm", "hidestatusbar"])
if action == "Install": if action == "Install":
apps = inquirer.checkbox( apps = inquirer.checkbox(