-
-
Notifications
You must be signed in to change notification settings - Fork 6
Install Code Server and run it
Der_Googler edited this page Jan 6, 2023
·
2 revisions
Requirements:
- Systemless Mkshrc
- Node.js for Android
- GCC for Android
- Yarn (not npm)
- Python
Install Fox's Magisk Module Manager and search up for Systemless Mkshrc
and Node.js
and install these
Note: Systemless Mkshrc should installed first
curl -sL https://github.com/Googlers-Repo/extra/releases/download/gcc-android-10.2.0/gcc-installer_mkshrc_1.2.2.sh | sh
This script requires Systemless Mkshrc above 1.2.2. If not, some logs might be incorrectly displayed.
Run this as Termux user:
# I recommend Python 3.11 which works with GCC 10.2.0
pkg install python
...and this as root user
ln -s /data/data/com.termux/files/usr/bin/python $PREFIX/bin/python
Version 4.6.0 have been tested.
yarn global add code-server@4.6.0 --unsafe-perm
It also requires some patches... these should you run as root
You should not use this patch with another version...
sed -i -e 's|switch(process.platform)|switch("linux")|' $HOME/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.js
...then start your game changer and happy coding!
code-server --bind-addr 0.0.0.0:8446