mirror of http://192.168.10.4:8099/sane/dpkg.git
国产系统补充紫光售后工具依赖文件
This commit is contained in:
parent
48fa5bac54
commit
0f1fac92f4
4
build.sh
4
build.sh
|
@ -107,7 +107,7 @@ function appbuild()
|
||||||
git -C ../code_device pull
|
git -C ../code_device pull
|
||||||
|
|
||||||
git -C ../code_app clean -df
|
git -C ../code_app clean -df
|
||||||
git -C ../code_app checkout .
|
#git -C ../code_app checkout .
|
||||||
git -C ../code_app pull
|
git -C ../code_app pull
|
||||||
|
|
||||||
git -C ../code_lang checkout .
|
git -C ../code_lang checkout .
|
||||||
|
@ -585,7 +585,7 @@ else
|
||||||
|
|
||||||
else
|
else
|
||||||
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib
|
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib
|
||||||
if [ "$oem" == "hg" ];
|
if [ "$oem" == "hg" ] || [ "$oem" == "zg" ];
|
||||||
then
|
then
|
||||||
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
|
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
|
||||||
fi
|
fi
|
||||||
|
|
0
uos/zg/opt/apps/com.unischina.uniscan/entries/applications/com.unischina.uniscan.desktop
Normal file → Executable file
0
uos/zg/opt/apps/com.unischina.uniscan/entries/applications/com.unischina.uniscan.desktop
Normal file → Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/sh
|
||||||
|
script_dir=$(cd $(dirname $0);pwd)
|
||||||
|
cd $script_dir
|
||||||
|
|
||||||
|
appname=`basename $0 | sed s,\.sh$,,`
|
||||||
|
|
||||||
|
dirname=`dirname $0`
|
||||||
|
|
||||||
|
tmp="${dirname#?}"
|
||||||
|
|
||||||
|
if [ "${dirname%$tmp}" != "/" ]; then
|
||||||
|
|
||||||
|
dirname=$PWD/$dirname
|
||||||
|
|
||||||
|
fi
|
||||||
|
echo $dirname
|
||||||
|
export LD_LIBRARY_PATH=$dirname/../lib
|
||||||
|
echo $dirname/../lib
|
||||||
|
$dirname/$appname $*
|
Loading…
Reference in New Issue