mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-01 01:51:44 +00:00
fix(termux): disable gateway service flows on android
This commit is contained in:
parent
4e40e93b98
commit
3878495972
7 changed files with 153 additions and 48 deletions
|
|
@ -122,6 +122,10 @@ def uninstall_gateway_service():
|
|||
|
||||
if platform.system() != "Linux":
|
||||
return False
|
||||
|
||||
prefix = os.getenv("PREFIX", "")
|
||||
if os.getenv("TERMUX_VERSION") or "com.termux/files/usr" in prefix:
|
||||
return False
|
||||
|
||||
try:
|
||||
from hermes_cli.gateway import get_service_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue