Skip to content

Commit a17f52c

Browse files
committed
v2.5.2
1 parent 73798f3 commit a17f52c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/cpp/cpp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ void Do(char * ipaPath)
7171
std::cout << "iOS设备,udid:" << gudid << " ipa包:" << ipaPath << (retInstall ? " 安装成功" : " 安装失败") << std::endl;
7272
std::cout << "按回车键停止..." << std::endl;
7373
std::cin.get(); // 阻止主线程退出
74-
//StopListen();
74+
StopListen();
7575
}
7676

7777

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

0 commit comments

Comments
 (0)