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());