From e8414d8fd66be6788641a38f2098f352bad5fd2e Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Mon, 12 Sep 2022 18:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kylin/lsc/etc/ld.so.conf.d/lscconf.conf | 2 +- .../apps/scanner-driver-lanxum/LanxumScan.sh | 22 ------------------- .../scanner-driver-lanxum-g52.desktop | 2 +- 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100755 kylin/lsc/opt/apps/scanner-driver-lanxum/LanxumScan.sh diff --git a/kylin/lsc/etc/ld.so.conf.d/lscconf.conf b/kylin/lsc/etc/ld.so.conf.d/lscconf.conf index c1a7b10..f542baa 100755 --- a/kylin/lsc/etc/ld.so.conf.d/lscconf.conf +++ b/kylin/lsc/etc/ld.so.conf.d/lscconf.conf @@ -1 +1 @@ -/opt/apps/scanner-driver-lanxum +/opt/apps/scanner-driver-lanxum/lib diff --git a/kylin/lsc/opt/apps/scanner-driver-lanxum/LanxumScan.sh b/kylin/lsc/opt/apps/scanner-driver-lanxum/LanxumScan.sh deleted file mode 100755 index b5b8ae7..0000000 --- a/kylin/lsc/opt/apps/scanner-driver-lanxum/LanxumScan.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -appname=`basename $0 | sed s,\.sh$,,` - -dirname=`dirname $0` - -tmp="${dirname#?}" - -if [ "${dirname%$tmp}" != "/" ]; then - -dirname=$PWD/$dirname - -fi - -LD_LIBRARY_PATH=$dirname - -export LD_LIBRARY_PATH - -$dirname/$appname $* - -export LD_LIBRARY_PATH='/usr/lib/aarch64-linux-gnu' -export LD_LIBRARY_PATH='/usr/lib/aarch64-linux-gnu/sane' \ No newline at end of file diff --git a/kylin/lsc/usr/share/applications/scanner-driver-lanxum-g52.desktop b/kylin/lsc/usr/share/applications/scanner-driver-lanxum-g52.desktop index 1768daa..f6b952a 100755 --- a/kylin/lsc/usr/share/applications/scanner-driver-lanxum-g52.desktop +++ b/kylin/lsc/usr/share/applications/scanner-driver-lanxum-g52.desktop @@ -4,5 +4,5 @@ Type=Application Name=LanXumScan Categories=Application; Name[zh_CN]=立思辰扫描应用程序 -Exec=sh /opt/apps/scanner-driver-lanxum/LanxumScan.sh +Exec=sh /opt/apps/scanner-driver-lanxum/bin/LanxumScan.sh Icon=/usr/share/icons/hicolor/128x128/apps/scanner-driver-lanxum.png