ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / qt / qtscrcpy / remove_predefined_paths.patch
blob574ced6384a7263d1a3d1da17e08f4d9887de48c
1 diff --git a/QtScrcpy/main.cpp b/QtScrcpy/main.cpp
2 index a24ba60..51e3d76 100644
3 --- a/QtScrcpy/main.cpp
4 +++ b/QtScrcpy/main.cpp
5 @@ -22,22 +22,16 @@ int main(int argc, char *argv[])
7 // set env
8 #ifdef Q_OS_WIN32
9 - qputenv("QTSCRCPY_ADB_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/adb/win/adb.exe");
10 - qputenv("QTSCRCPY_SERVER_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server");
11 qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap");
12 qputenv("QTSCRCPY_CONFIG_PATH", "../../../config");
13 #endif
15 #ifdef Q_OS_OSX
16 - qputenv("QTSCRCPY_ADB_PATH", "../../../../../../QtScrcpy/QtScrcpyCore/src/third_party/adb/mac/adb");
17 - qputenv("QTSCRCPY_SERVER_PATH", "../../../../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server");
18 qputenv("QTSCRCPY_KEYMAP_PATH", "../../../../../../keymap");
19 qputenv("QTSCRCPY_CONFIG_PATH", "../../../../../../config");
20 #endif
22 #ifdef Q_OS_LINUX
23 - qputenv("QTSCRCPY_ADB_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/adb/linux/adb");
24 - qputenv("QTSCRCPY_SERVER_PATH", "../../../QtScrcpy/QtScrcpyCore/src/third_party/scrcpy-server");
25 qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap");
26 qputenv("QTSCRCPY_CONFIG_PATH", "../../../config");
27 #endif