Skip to content

Commit

Permalink
v2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aidserv committed May 26, 2024
1 parent 73798f3 commit a17f52c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/cpp/cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ void Do(char * ipaPath)
std::cout << "iOS设备,udid:" << gudid << " ipa包:" << ipaPath << (retInstall ? " 安装成功" : " 安装失败") << std::endl;
std::cout << "按回车键停止..." << std::endl;
std::cin.get(); // 阻止主线程退出
//StopListen();
StopListen();
}


int main(int argc, char* argv[], char* envp[])
{
RegisterAuthorizeCallback(ReadAuthorizeInfo); //注册信任,结果通知事件回调函数
//RegisterAuthorizeCallback(ReadAuthorizeInfo); //注册信任,结果通知事件回调函数
RegisterInstallCallback(InstallApplicationInfo); //安装ipa 回调函数
RegisterConnectCallback(Connecting); // 连接回调函数
RegisterDisconnectCallback(Distinct); // 断开事件
//Do(argv[1]);
autoDo(argv[1]);
Do(argv[1]);
//autoDo(argv[1]);
}

0 comments on commit a17f52c

Please sign in to comment.