Added some code for android gui version

This commit is contained in:
Aleksandr Lebedev 2025-01-30 22:38:19 +01:00
parent c4843c90f7
commit 7a2324a826
4 changed files with 37 additions and 3 deletions

7
early-init.el Normal file
View file

@ -0,0 +1,7 @@
;;; -*- lexical-binding: t; -*-
(when (string-equal system-type "android")
;; Add Termux binaries to PATH environment
(let ((termuxpath "/data/data/com.termux/files/usr/bin"))
(setenv "PATH" (concat (getenv "PATH") ":" termuxpath))
(setq exec-path (append exec-path (list termuxpath)))))