mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
Change su path
This commit is contained in:
parent
339ca7accf
commit
e475893fd7
@ -153,7 +153,7 @@ public class RootFragment extends Fragment {
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
// Proper root
|
// Proper root
|
||||||
if (new File("/system/xbin/su").exists()) {
|
if (new File("/magisk/.core/bin/su").exists()) {
|
||||||
// Mounted
|
// Mounted
|
||||||
rootStatusContainer.setBackgroundColor(accent);
|
rootStatusContainer.setBackgroundColor(accent);
|
||||||
rootStatusIcon.setImageResource(statusError);
|
rootStatusIcon.setImageResource(statusError);
|
||||||
|
Loading…
Reference in New Issue
Block a user