diff options
author | zxp19821005 | 2023-10-30 20:39:12 +0800 |
---|---|---|
committer | zxp19821005 | 2023-10-30 20:39:12 +0800 |
commit | 3824a339743661524abaefb6de82785692e7e8ba (patch) | |
tree | cb29b5fea9e8444c0d65fe175aba3d1ff61cda4b /escrcpy.sh | |
parent | ca0a2ba6836acb601b67b309b6d62749f43eca20 (diff) | |
download | aur-3824a339743661524abaefb6de82785692e7e8ba.tar.gz |
update to 1.11.2
Diffstat (limited to 'escrcpy.sh')
-rw-r--r-- | escrcpy.sh | 11 |
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 |