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