diff --git a/source/cli/main.cpp b/source/cli/main.cpp index 6731dc5..1e1b15a 100644 --- a/source/cli/main.cpp +++ b/source/cli/main.cpp @@ -482,17 +482,6 @@ bool app_package_and_activity(int client_type, std::string& package, std::string return true; } -bool match_adb_address(const std::string& adb_address, MaaSize& index, const MaaSize& device_size) -{ - for (MaaSize i = 0; i < device_size; i++) { - if (adb_address == MaaToolKitGetDeviceAdbSerial(i)) { - index = i; - return true; - } - } - return false; -} - json::value dorm_param() { json::value param; diff --git a/source/cli/main.h b/source/cli/main.h index 824544e..f8bb719 100644 --- a/source/cli/main.h +++ b/source/cli/main.h @@ -57,8 +57,6 @@ json::value close_game_param(); bool app_package_and_activity(int client_type, std::string& package, std::string& activity); -bool match_adb_address(const std::string& adb_address, MaaSize& index, const MaaSize& device_size); - std::string TaskStatus(MaaStatus status); void mpause(); \ No newline at end of file