termux-api-start not _
This commit is contained in:
parent
eaa5579b90
commit
7de5582022
1 changed files with 1 additions and 1 deletions
2
s.py
2
s.py
|
@ -40,7 +40,7 @@ if is_termux:
|
||||||
default_directory = '/sdcard/ub4tg'
|
default_directory = '/sdcard/ub4tg'
|
||||||
os.system(f'mkdir -p {default_directory}')
|
os.system(f'mkdir -p {default_directory}')
|
||||||
default_config_file_path = f'{default_directory}/config.json'
|
default_config_file_path = f'{default_directory}/config.json'
|
||||||
termux_api = os.system('termux_api_start') == 0
|
termux_api = os.system('termux-api-start') == 0
|
||||||
if termux_api:
|
if termux_api:
|
||||||
logger.success('termux API works')
|
logger.success('termux API works')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue