From 3ac2bcdeefa1ff3555a1a52a837824b979b9efbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=9D=A4?= Date: Mon, 20 Jun 2022 07:47:59 +0800 Subject: [PATCH] fix: ma debug adb path --- .github/workflows/ubuntu.yml | 2 +- QtScrcpy/main.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 6913772..a71e9d7 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -18,7 +18,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-18.04] + os: [ubuntu-22.04] qt-ver: [5.15.1] qt-arch-install: [gcc_64] gcc-arch: [x64] diff --git a/QtScrcpy/main.cpp b/QtScrcpy/main.cpp index 371ec52..629e08b 100644 --- a/QtScrcpy/main.cpp +++ b/QtScrcpy/main.cpp @@ -36,10 +36,10 @@ int main(int argc, char *argv[]) #endif #ifdef Q_OS_LINUX - qputenv("QTSCRCPY_ADB_PATH", "../../QtScrcpy/QtScrcpyCore/src/third_party/adb/linux/adb"); - qputenv("QTSCRCPY_SERVER_PATH", "../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server"); - qputenv("QTSCRCPY_CONFIG_PATH", "../../config"); - qputenv("QTSCRCPY_KEYMAP_PATH", "../../keymap"); + qputenv("QTSCRCPY_ADB_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/adb/linux/adb"); + qputenv("QTSCRCPY_SERVER_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server"); + qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap"); + qputenv("QTSCRCPY_CONFIG_PATH", "../../../config"); #endif g_msgType = covertLogLevel(Config::getInstance().getLogLevel());