summarylogtreecommitdiffstats
path: root/escrcpy.sh
diff options
context:
space:
mode:
authorzxp198210052023-10-30 20:39:12 +0800
committerzxp198210052023-10-30 20:39:12 +0800
commit3824a339743661524abaefb6de82785692e7e8ba (patch)
treecb29b5fea9e8444c0d65fe175aba3d1ff61cda4b /escrcpy.sh
parentca0a2ba6836acb601b67b309b6d62749f43eca20 (diff)
downloadaur-3824a339743661524abaefb6de82785692e7e8ba.tar.gz
update to 1.11.2
Diffstat (limited to 'escrcpy.sh')
-rw-r--r--escrcpy.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/escrcpy.sh b/escrcpy.sh
index 83c1d8a81f07..b2507a2428fc 100644
--- a/escrcpy.sh
+++ b/escrcpy.sh
@@ -1,12 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron27
-APPDIR="/opt/escrcpy"
-export PATH="${APPDIR}:${APPDIR}/usr/sbin:${PATH}"
-export XDG_DATA_DIRS="./share/:/usr/share/gnome:/usr/local/share/:/usr/share/:${XDG_DATA_DIRS}"
-export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
-export XDG_DATA_DIRS="${APPDIR}"/usr/share/:"${XDG_DATA_DIRS}":/usr/share/gnome/:/usr/local/share/:/usr/share/
-export GSETTINGS_SCHEMA_DIR="${APPDIR}/usr/share/glib-2.0/schemas:${GSETTINGS_SCHEMA_DIR}"
-_ASAR="${APPDIR}/resources/app.asar"
+APPDIR="/usr/lib/escrcpy"
+export PATH="${APPDIR}:${PATH}"
+#export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
+_ASAR="${APPDIR}/app.asar"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec ${_ELECTRON} ${_ASAR} "$@"
else