summarylogtreecommitdiffstats
path: root/path-fix.patch
diff options
context:
space:
mode:
authorMark Wagie2021-03-07 08:32:11 -0700
committerMark Wagie2021-03-07 08:32:11 -0700
commit164ebf92ab48e76143e086fb031c07ddba79d1ac (patch)
treec5da0b4796a9f76f0799496bfa5b2f527a4e8140 /path-fix.patch
downloadaur-164ebf92ab48e76143e086fb031c07ddba79d1ac.tar.gz
initial commit
Diffstat (limited to 'path-fix.patch')
-rw-r--r--path-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/path-fix.patch b/path-fix.patch
new file mode 100644
index 000000000000..4e022c6322e3
--- /dev/null
+++ b/path-fix.patch
@@ -0,0 +1,17 @@
+--- main.cpp 2020-08-29 23:08:56.000000000 -0600
++++ main_new.cpp 2020-10-07 11:01:39.606244000 -0600
+@@ -35,10 +35,10 @@
+ #endif
+
+ #ifdef Q_OS_LINUX
+- qputenv("QTSCRCPY_ADB_PATH", "../../../third_party/adb/linux/adb");
+- qputenv("QTSCRCPY_SERVER_PATH", "../../../third_party/scrcpy-server");
+- qputenv("QTSCRCPY_CONFIG_PATH", "../../../config");
+- qputenv("QTSCRCPY_KEYMAP_PATH", "../../../keymap");
++ qputenv("QTSCRCPY_ADB_PATH", "/usr/bin/adb");
++ qputenv("QTSCRCPY_SERVER_PATH", "/opt/qtscrcpy/scrcpy-server");
++ qputenv("QTSCRCPY_CONFIG_PATH", "/etc/qtscrcpy");
++ qputenv("QTSCRCPY_KEYMAP_PATH", "/opt/qtscrcpy/keymap");
+ #endif
+
+ g_msgType = covertLogLevel(Config::getInstance().getLogLevel());