mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
Refactor LiveScreenWidget, implement HouseArrest , fix bugs
- Introduced ScreenshotrThread to manage screenshot capturing in a separate thread. - Updated LiveScreenWidget to utilize the new thread for capturing screenshots. - Removed unused timer and related code for periodic screenshot updates. - Enhanced error handling and initialization logic for screenshot service. - Updated ServiceManager to include methods for taking screenshots and enabling developer mode. - Refactored various methods in ServiceManager to accept optional parameters for AFC client handling. - Improved error handling in VirtualLocation for setting device location. - Enhanced ZLoadingWidget to support multiple content states using QStackedWidget. - Cleaned up code and comments across multiple files for better readability and maintainability.
This commit is contained in:
@@ -266,7 +266,6 @@ void AppContext::addDevice(QString udid,
|
||||
.mutex = new std::recursive_mutex(),
|
||||
.imageMounter = initResult->imageMounter,
|
||||
.diagRelay = initResult->diagRelay,
|
||||
.screenshotrClient = initResult->screenshotrClient,
|
||||
.locationSimulation = initResult->locationSimulation};
|
||||
m_devices[device->udid] = device;
|
||||
if (addType == AddType::Regular) {
|
||||
|
||||
Reference in New Issue
Block a user