Skip to content

A GUI Client for scrcpy and gnirehtet with auto launch on connect features.

License

Notifications You must be signed in to change notification settings

fazalfarhan01/Auto-CPY

Repository files navigation

Auto-CPY

Total Downloads Release Version License


GUI Client for Scrcpy and Gnirehtet (Yet to be added) with auto-launch on device connect.

Note:

  1. Make sure you have your device's USB Debugging mode turned ON (WiFi Support to be added soon.)
  2. Connect your device to one of the USB ports on computer.
  3. Launch the Application.

If Auto launch on device connect is turned on, you will have to add an exclusion in windows defender.

Windows Defender detects it as a trojan (False Positive) and removes the executable because it has the auto launch on connect feature. The application shortcut get placed in the startup applications folder C:\Users\$USER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup to make the application run in background.

Adding a folder exclusion in Windows Defender will work.

Windows Defender >> Virus and threat protection >> Manage settings >> Add or remove exclusions >> Add an exclusion >> Select the program install directory. (Default C:\Program Files\Auto-CPY\)

Windows Defender Exclusion

Check Releases for more information

Screenshots

App Interface Home App Interface Main App Interface WiFi Menu

To compile and install on your own

  1. Make sure you have Python Installed (Python 3.7.9 used for this project), and in path.
  2. Clone this repository git clone https://github.com/fazalfarhan01/Auto-CPY.git
  3. cd into the downloaded repo cd Auto-CPY
  4. Create a virtual environment virtualenv env
    • You need to have virtualenv python package already installed. If not install it. pip install virtualenv
  5. Activate the virtual environment .\env\Scripts\activate
  6. Install all the required python packages pip install -r requirements.txt
  7. Generate the exe file python -m eel .\main.py .\web --onefile --icon=.\web\images\favicon.ico -n Auto-CPY.exe
  8. Move the generated .exe to main directory mv .\dist\Auto-CPY.exe .
  9. Double click to run the Auto-CPY.exe. Alternatively Double click run.vbs to run without console.

Technologies Used

  1. Python (3.7.9)
  2. HTML (UI)
  3. CSS (UI)
  4. JS (UI to Python)
  5. NSIS
  6. scrcpy
  7. auto-adb
  8. gnirehtet (not yet)