Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Added Termux support
Browse files Browse the repository at this point in the history
  • Loading branch information
T1erno committed Apr 21, 2022
1 parent e9bcd09 commit 1cd5580
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cme/first_run.py
Expand Up @@ -13,6 +13,8 @@
TMP_PATH = os.path.join('/tmp', 'cme_hosted')
if os.name == 'nt':
TMP_PATH = os.getenv('LOCALAPPDATA') + '\\Temp\\cme_hosted'
if check_output(['uname', '-o']).strip() == b'Android':
TMP_PATH = os.path.join('/data','data', 'com.termux', 'files', 'usr', 'tmp', 'cme_hosted')
WS_PATH = os.path.join(CME_PATH, 'workspaces')
CERT_PATH = os.path.join(CME_PATH, 'cme.pem')
CONFIG_PATH = os.path.join(CME_PATH, 'cme.conf')
Expand Down

0 comments on commit 1cd5580

Please sign in to comment.