mirror of http://192.168.10.4:8099/sane/dpkg.git
紫光国产系统打包增加售后工具
This commit is contained in:
parent
0fcd53b8ad
commit
79860368b9
2
build.sh
2
build.sh
|
@ -557,7 +557,7 @@ else
|
|||
|
||||
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib
|
||||
|
||||
if [ "$oem" == "hg" ];
|
||||
if [ "$oem" == "hg" ] || [ "$oem" == "zg" ];
|
||||
then
|
||||
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/bin
|
||||
fi
|
||||
|
|
|
@ -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 $*
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=UniScan
|
||||
Name[zh_CN]=紫光扫描应用程序
|
||||
Exec=sh /opt/apps/scanner-driver-unis/bin/UniScan.sh
|
||||
Icon=/usr/share/icons/hicolor/128x128/apps/scanner-driver-unis.png
|
||||
Categories=Application;Graphics;GTK;RasterGraphics;Scanning;
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=ZGFWUpgradeApp
|
||||
Name[zh_CN]=紫光扫描仪售后工具
|
||||
Exec=sh /opt/apps/com.unischina.uniscan/files/bin/ZGFWUpgradeApp.sh
|
||||
Icon=/opt/apps/com.unischina.uniscan/entries/icons/hicolor/48x48/apps/com.unischina.uniscan.png
|
||||
Categories=Application;Office;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Directory
|
||||
Name=ZGFWUpgradeApp
|
||||
Name[zh_CN]=紫光扫描仪售后工具
|
||||
Icon=com.unischina.uniscan
|
Loading…
Reference in New Issue