# 移动设备管理系统 **Repository Path**: jon_he/device_manager ## Basic Information - **Project Name**: 移动设备管理系统 - **Description**: 自用,需要安装ADB - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-24 - **Last Updated**: 2025-10-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, ADB ## README # Device Management Application This is a PyQt5 application for managing Android devices via ADB (Android Debug Bridge). ## Features - Manage multiple Android devices - Switch between different Google accounts - Check if a specific Google account is logged in on a device - Execute ADB commands on connected devices ## Prerequisites - Python 3.7 or higher - Required Python packages (see requirements.txt) - ADB (Android Debug Bridge) installed and accessible in system PATH ## Installation 1. Clone or download this repository 2. Install the required packages: ``` pip install -r requirements.txt ``` ## Building the Executable To build the executable with all necessary dependencies, run: ``` pyinstaller device_manager.spec --clean ``` This will create a standalone executable in the `dist/device_manager` directory. ## Deployment - Basic on Gitee - Update your version on `core/version.py` - Ensure the Gitee account has write permissions to the project - Run `deploy/deploy_to_gitee.py` ``` python deploy/deploy_to_gitee.py ``` - The script will automatically create a new Release containing the latest executable file and `latest.json` ## Running the Application ### Development Mode ``` python main.py ``` ### From Built Executable Navigate to the `dist` directory and run `device_manager.exe`. ## Directory Structure - `data/` - Application data files - `assets/` - Images and other assets - `ui/` - UI component files - `core/` - Core application logic ## Troubleshooting If the application fails to start or cannot find ADB tools, ensure that: 1. ADB is properly installed and added to system PATH 2. ADB server can be started successfully