fix: adb path error on debug

This commit is contained in:
Barry 2022-06-09 18:22:08 +08:00
commit 78cc026ddb

View file

@ -22,7 +22,7 @@ int main(int argc, char *argv[])
{ {
// set env // set env
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
qputenv("QTSCRCPY_ADB_PATH", "D:/android/sdk/platform-tools/adb.exe"); qputenv("QTSCRCPY_ADB_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/adb/win/adb.exe");
qputenv("QTSCRCPY_SERVER_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server"); qputenv("QTSCRCPY_SERVER_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server");
qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap"); qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap");
qputenv("QTSCRCPY_CONFIG_PATH", "../../../config"); qputenv("QTSCRCPY_CONFIG_PATH", "../../../config");