mirror of http://192.168.10.4:8099/sane/dpkg.git
Compare commits
2 Commits
8939368316
...
5645b3f0eb
Author | SHA1 | Date |
---|---|---|
yangjiaxuan | 5645b3f0eb | |
yangjiaxuan | 3aab3e7ded |
29
build.sh
29
build.sh
|
@ -84,7 +84,6 @@ then
|
||||||
echo $sanelibname
|
echo $sanelibname
|
||||||
elif [ "${oem:0-4:4}" == "tool" ];
|
elif [ "${oem:0-4:4}" == "tool" ];
|
||||||
then
|
then
|
||||||
dpkgtype=kylin
|
|
||||||
sanelibname="${oem%${oem:0-4:4}*}"
|
sanelibname="${oem%${oem:0-4:4}*}"
|
||||||
echo $sanelibname
|
echo $sanelibname
|
||||||
else
|
else
|
||||||
|
@ -99,6 +98,30 @@ function appbuild()
|
||||||
echo "-----------------------------start-----------------------------"
|
echo "-----------------------------start-----------------------------"
|
||||||
#GIT CODE
|
#GIT CODE
|
||||||
|
|
||||||
|
rm ../release/$syspath/$cpu/*
|
||||||
|
|
||||||
|
git -C ../release clean -df
|
||||||
|
git -C ../release checkout .
|
||||||
|
git -C ../release pull
|
||||||
|
|
||||||
|
git -C ../sdk clean -df
|
||||||
|
git -C ../sdk checkout .
|
||||||
|
git -C ../sdk pull
|
||||||
|
|
||||||
|
git -C ../code_device clean -df
|
||||||
|
git -C ../code_device checkout .
|
||||||
|
git -C ../code_device pull
|
||||||
|
|
||||||
|
git -C ../code_app clean -df
|
||||||
|
git -C ../code_app checkout .
|
||||||
|
git -C ../code_app pull
|
||||||
|
|
||||||
|
git -C ../code_lang checkout .
|
||||||
|
git -C ../code_lang pull
|
||||||
|
|
||||||
|
git -C ../code_log checkout .
|
||||||
|
git -C ../code_log pull
|
||||||
|
|
||||||
echo "-----------------------------start code_lang build-----------------------------"
|
echo "-----------------------------start code_lang build-----------------------------"
|
||||||
./../code_lang/build.sh
|
./../code_lang/build.sh
|
||||||
|
|
||||||
|
@ -564,9 +587,9 @@ else
|
||||||
|
|
||||||
if [ "$oem" == "hgtool" ];
|
if [ "$oem" == "hgtool" ];
|
||||||
then
|
then
|
||||||
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
|
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/bin
|
||||||
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/files/lib
|
||||||
|
|
||||||
if [ "$oem" == "hg" ] || [ "$oem" == "zg" ];
|
if [ "$oem" == "hg" ] || [ "$oem" == "zg" ];
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Package: com.huagaochina.huagoscantool
|
Package: com.huagaochina.huagaoscantool
|
||||||
Version: 4.40.10521.23066
|
Version: 4.52.10520.24232
|
||||||
Architecture: loongarch64
|
Architecture: amd64
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: PengLiangyi <pengliangyi@huagaochina.com>
|
Maintainer: PengLiangyi <pengliangyi@huagaochina.com>
|
||||||
|
|
|
@ -4,4 +4,4 @@ udevadm control --reload-rules
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
/opt/apps/com.huagaochina.huagoscantool/files/bin/HGScanTool &
|
/opt/apps/com.huagaochina.huagaoscantool/files/bin/HGScanTool &
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"appid":"com.huagaochina.huagaoscantool",
|
||||||
|
"name":"hgtool",
|
||||||
|
"version":"4.52.10520.24232",
|
||||||
|
"arch":["amd64"],
|
||||||
|
"permissions": {
|
||||||
|
"autostart": false,
|
||||||
|
"notification": false,
|
||||||
|
"trayicon": false,
|
||||||
|
"clipboard": false,
|
||||||
|
"account": false,
|
||||||
|
"bluetooth": false,
|
||||||
|
"camera": false,
|
||||||
|
"audio_record": false,
|
||||||
|
"installed_apps": false
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,6 +5,6 @@ Type=Application
|
||||||
Name=HGScanTool
|
Name=HGScanTool
|
||||||
Name[zh_CN]=华高按键扫描工具
|
Name[zh_CN]=华高按键扫描工具
|
||||||
Exec=/opt/apps/com.huagaochina.huagaoscantool/files/bin/HGScanTool
|
Exec=/opt/apps/com.huagaochina.huagaoscantool/files/bin/HGScanTool
|
||||||
Icon=/usr/share/icons/hicolor/128x128/apps/scanner-driver-huagaoscantool.png
|
Icon=/usr/share/icons/hicolor/128x128/apps/com.huagaochina.huagaoscantool.png
|
||||||
Categories=Application;Graphics;GTK;RasterGraphics;Scanning;
|
Categories=Application;Graphics;GTK;RasterGraphics;Scanning;
|
||||||
|
|
Loading…
Reference in New Issue