MCPcopy Create free account
hub / github.com/Tencent/loli_profiler / GetADBExecutablePath

Method GetADBExecutablePath

src/pathutils.cpp:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17QString PathUtils::GetADBExecutablePath() {
18 if (!sdkPath_.isEmpty() && QFile::exists(sdkPath_)) {
19#ifdef Q_OS_WIN
20 auto adbPath = sdkPath_ + "/platform-tools/adb.exe";
21#else
22 auto adbPath = sdkPath_ + "/platform-tools/adb";
23#endif
24 if (QFile::exists(adbPath))
25 return adbPath;
26 }
27 return QString();
28}
29
30QString PathUtils::GetPythonExecutablePath() {
31 // Try to find Python in NDK first

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected