MultiScrcpyRunner
is a batch script designed to simplify the management of multiple Android devices connected to a computer. It automatically detects connected devices, launches scrcpy
instances for each one, and offers customizable options such as turning the device's screen off, keeping the scrcpy
window always on top, and disabling the screensaver on the computer for uninterrupted monitoring.
- Windows operating system
- ADB (Android Debug Bridge) installed and configured
scrcpy
installed and accessible from the command line- USB debugging enabled on all Android devices to be connected
brew install android-platform-tools scrcpy
- Clone this repository to your local machine using
git clone https://github.com/Menwitz/RunMultiAndroidMirror.git
- Navigate to the cloned directory.
- Ensure that
adb
andscrcpy
are in your system's PATH.
Windows
- Open Command Prompt.
- Navigate to the directory containing RunScrcpyForAllDevices.bat.
- Execute the script:
RunScrcpyForAllDevices.bat
macOS
- Open Terminal.
- Navigate to the directory containing RunScrcpyForAllDevices.sh.
- Make the script executable:
chmod +x RunScrcpyForAllDevices.sh
- Execute the script
./RunScrcpyForAllDevices.sh
You can customize the script parameters to suit your needs. Open RunScrcpyForAllDevices.bat
in a text editor and modify the scrcpy
command line options as desired.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please follow these steps to contribute:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Thanks to the
scrcpy
team for providing such a versatile tool. - This project was inspired by the need for managing multiple devices efficiently in a development environment.