紫光国产系统打包增加售后工具

This commit is contained in:
yangjiaxuan 2024-06-06 11:09:29 +08:00
parent 0fcd53b8ad
commit 79860368b9
6 changed files with 45 additions and 1 deletions

View File

@ -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

View 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 $*

View File

@ -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;

View File

@ -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;

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=ZGFWUpgradeApp
Name[zh_CN]=紫光扫描仪售后工具
Icon=com.unischina.uniscan