chore: what the fuck

This commit is contained in:
2025-06-19 23:25:30 +07:00
parent fa12cfc815
commit 2ec777f8d5
10 changed files with 98 additions and 3 deletions

View File

@ -8,7 +8,7 @@
- ~~YOU ALSO NEED TO OPEN ADB WIRELESS IN DEVELOPER SETTINGS FOR THIS TO WORK~~ (The script can use `su` to start ADB wireless now)
- You need to grant Termux:API full Location permission and set to "Always" (Foreground mode will not work correctly)
- Rootless mode is available, although you'll have to start the ADB server yourself.
- Dependencies: `root-repo` `tsu` `moreutils` `build-essential` `nodejs` `python3` `android-tools` `git` `termux-api`
- Dependencies: `root-repo` `tsu` `moreutils` `build-essential` `nodejs-lts` `python3` `android-tools` `git` `termux-api`
> Or execute `pkg install root-repo tsu moreutils build-essential nodejs python3 android-tools git termux-api`
@ -20,7 +20,9 @@
git clone https://github.com/NetrisTV/ws-scrcpy
cd ./ws-scrcpy
export GYP_DEFINES="android_ndk_path=''"
npm install -g node-gyp
npm install
# Ignore errors about puppeteer in unsupported platform, it'll work just fine.
```
1. Download ws-scrcpy-launcher.py:
@ -51,12 +53,13 @@ Then after that you can launch ws-scrcpy as explained above.
>
> ```shell
> pkg update
> pkg install root-repo moreutils build-essential nodejs python3 android-tools git termux-api
> pkg install root-repo moreutils build-essential nodejs-lts python3 android-tools git termux-api
> pkg install tsu
> cd ~
> git clone https://github.com/NetrisTV/ws-scrcpy
> cd ./ws-scrcpy
> export GYP_DEFINES="android_ndk_path=''"
> npm install -g node-gyp
> npm install
> cd ..
> curl -OL https://git.tretrauit.me/tretrauit/scripts/raw/branch/main/apps/ws-scrcpy/ws-scrcpy-launcher.py