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
18f50310
Commit
18f50310
authored
Jan 24, 2024
by
fuyanbin
Browse files
android 4.4 找不到自动启动脚本,用 /system/bin/startsoftdetector.sh 代替
parent
8e2ef925
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
18f50310
...
...
@@ -95,6 +95,10 @@ build_image() {
fi
local
auto_start_script
auto_start_script
=
"
$(
cat
"
$packge_dir
"
/find_autostart.log
)
"
if
[[
-z
"
$auto_start_script
"
]]
&&
[[
-f
/system/bin/startsoftdetector.sh
]]
then
auto_start_script
=
"/system/bin/startsoftdetector.sh"
fi
# NOTE: 返回的脚本路径里一定以 /system/ 开头, 所以下边拼路径时没有加上 /system
if
[[
-n
"
$auto_start_script
"
]]
then
...
...
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