Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
d97366f9
Commit
d97366f9
authored
Oct 18, 2024
by
fuyanbin
Browse files
android12以上的设备,安装一个显示二维码的app
parent
f15838a5
Pipeline
#58846
passed with stages
in 9 seconds
Changes
2
Pipelines
91
Show whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
d97366f9
...
...
@@ -295,9 +295,9 @@ install_dianxin() {
cp
-f
"
$build_dir
/hugep-all.zip"
"
$system_path
"
/bin/hugep-all.zip
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
!
-name
"hugep"
!
-name
"hugep-start.sh"
-exec
install
-m
0777
-t
"
$system_path
"
/bin/
{}
\;
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
!
-name
"*.apk"
!
-name
"hugep"
!
-name
"hugep-start.sh"
-exec
install
-m
0777
-t
"
$system_path
"
/bin/
{}
\;
for
file
in
$(
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
!
-name
"hugep"
!
-name
"hugep-start.sh"
)
for
file
in
$(
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
!
-name
"*.apk"
!
-name
"hugep"
!
-name
"hugep-start.sh"
)
do
chcon
u:object_r:drmserver_exec:s0
"
$system_path
/bin/
$(
basename
"
$file
"
)
"
done
...
...
@@ -312,6 +312,11 @@ install_dianxin() {
chcon
u:object_r:drmserver_exec:s0
"
$system_path
/etc/init/
$(
basename
"
$file
"
)
"
done
if
[[
"
$android_sdk
"
-ge
31
]]
then
find ./services/
-type
f
-name
"*.apk"
-exec
install
-m
0644
-t
"
$system_path
"
/preinstall/
{}
\;
fi
pack_image
"
$img
"
}
...
...
services/dianxin-qrcode.apk
0 → 100644
View file @
d97366f9
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment