diff options
Diffstat (limited to 'twrp-functions.cpp')
-rw-r--r-- | twrp-functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp index d1f9e3dbd..a90be5a6d 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -716,11 +716,11 @@ bool TWFunc::Install_SuperSU(void) { if (!PartitionManager.Mount_By_Path("/system", true)) return false; - if (copy_file("/res/supersu/su", "/system/xbin/su", 0755) != 0) { + if (copy_file("/supersu/su", "/system/xbin/su", 0755) != 0) { LOGE("Failed to copy su binary to /system/bin\n"); return false; } - if (copy_file("/res/supersu/Superuser.apk", "/system/app/Superuser.apk", 0644) != 0) { + if (copy_file("/supersu/Superuser.apk", "/system/app/Superuser.apk", 0644) != 0) { LOGE("Failed to copy Superuser app to /system/app\n"); return false; } |