Install / update
curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bash
What's new
Fixes
- close / restart: wait until scrcpy has really exited and force-close a hung mirror after 3s.
restart now actually reopens frozen windows.
- awake: unknown names now show a clear error instead of writing bogus entries to
devices.conf. Also accepts the model name shown in status.
- wifi: phones keep their name and stay-awake setting after switching to wireless (
IP:5555).
- record: honors
BITRATE and MAX_SIZE, and refuses to open a second window for a phone that is already mirrored.
- close no longer mistakes a recording's file path for a window title.
- Registry edits use exact field matching, so serials like
192.168.1.5:5555 are handled safely.
- Correct exit codes on success.
Improvements
- Logs moved from
/tmp to ~/.local/state/cliscrpy/.
EXTRA_ARGS supports quoted arguments.
- Clearer errors for typos (
Unknown command or phone) and unauthorized phones (accept the USB debugging prompt).
- Installer only copies a genuine local script and ships its own icon.
- New README with screenshot, MIT
LICENSE. Linux only.