added function for uploading a screenshot via Drag and Drop

This commit is contained in:
2025-01-19 12:31:36 +01:00
parent 0af1a27dcd
commit af4b377bb6
3 changed files with 155 additions and 101 deletions

View File

@@ -1,18 +1,16 @@
# ------------------------------------
# Python dependencies for this project
# ------------------------------------
# This project only uses Python's standard library modules:
# - json
# - subprocess
# - os
# - tkinter (comes bundled with Python on most systems)
#
# Therefore, there are no external Python packages needed
# to be installed via pip.
#
# You do, however, need "scrcpy" and "adb" installed on your system PATH.
#
# If you are missing tkinter (rare on some systems), you may need to install:
# - On Debian/Ubuntu: sudo apt-get install python3-tk
# - On macOS (Homebrew): brew install python-tk (usually tkinter is pre-included)
# - On Windows: usually included with official Python installer
# Requirements for ADB Unlock, Screenshot & Scrcpy Tool
# Python dependencies:
# - tkinterdnd2 (external package for drag-and-drop support)
tkinterdnd2
# The rest of the required software is non-Python:
# 1. Android Debug Bridge (ADB)
# - Download from: https://developer.android.com/studio/releases/platform-tools
# 2. Scrcpy
# - Installation guide: https://github.com/Genymobile/scrcpy
# Note: If tkinter is missing (rare):
# - On Debian/Ubuntu: sudo apt-get install python3-tk
# - On macOS (Homebrew): brew install python-tk
# - On Windows: Included in the Python installer