Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
cd964548
Unverified
Commit
cd964548
authored
Jun 17, 2022
by
残页
Committed by
GitHub
Jun 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix finding recovery image on direct install
Fix #5972, fix #5673
parent
741b6793
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MagiskInstaller.kt
...n/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt
+1
-1
No files found.
app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt
View file @
cd964548
...
@@ -58,7 +58,7 @@ abstract class MagiskInstallImpl protected constructor(
...
@@ -58,7 +58,7 @@ abstract class MagiskInstallImpl protected constructor(
private
val
localFS
get
()
=
FileSystemManager
.
getLocal
()
private
val
localFS
get
()
=
FileSystemManager
.
getLocal
()
private
fun
findImage
():
Boolean
{
private
fun
findImage
():
Boolean
{
val
bootPath
=
"find_boot_image; echo \"\$BOOTIMAGE\""
.
fsh
()
val
bootPath
=
"
RECOVERYMODE=${Config.recovery}
find_boot_image; echo \"\$BOOTIMAGE\""
.
fsh
()
if
(
bootPath
.
isEmpty
())
{
if
(
bootPath
.
isEmpty
())
{
console
.
add
(
"! Unable to detect target image"
)
console
.
add
(
"! Unable to detect target image"
)
return
false
return
false
...
...
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