Fix AnyKernel3 typos

pull/147/head
Fox2Code 2 years ago
parent 791532ca7b
commit 5cff1e0d72

@ -65,7 +65,6 @@ AK3TMPFS=$($AK3TMPFS/busybox readlink -f $AK3TMPFS);
if $AK3TMPFS/busybox grep -q AnyKernel3 $AK3TMPFS/update-binary; then
# work around more restrictive upstream SELinux policies for Magisk <19306
magiskpolicy --live "allow kernel app_data_file file write" || true;
TMP=$AK3TMPFS/tmp;
else
echo "Module is not an AnyKernel3 module!"
exit 1
@ -77,6 +76,6 @@ RC=$?;
# Original script delete all generated files,
# But we just need to unmount as we store everything inside tmpfs
umount $TMP;
umount $AK3TMPFS;
return $RC;

@ -191,7 +191,7 @@ public class InstallerActivity extends CompatActivity {
}
if (!isModule && !isAnyKernel3) {
this.setInstallStateFinished(false,
"! File is not a valid Magisk or AnyKernel3 module", "");
"! File is not a valid Magisk module or AnyKernel3 zip", "");
return;
}
if (noPatch) {
@ -339,7 +339,7 @@ public class InstallerActivity extends CompatActivity {
installExecutable = this.extractInstallScript("module_installer_anykernel3.sh");
if (installExecutable == null) {
this.setInstallStateFinished(false,
"! Failed to extract AnyKernel3 module install script", null);
"! Failed to extract AnyKernel3 install script", null);
return;
}
// "unshare -m" is needed to force mount namespace isolation.
@ -366,7 +366,7 @@ public class InstallerActivity extends CompatActivity {
" 3 1 \"" + file.getAbsolutePath() + "\"";
} else {
this.setInstallStateFinished(false,
"! Zip file is not a valid Magisk or AnyKernel3 module!", null);
"! Zip file is not a valid Magisk module or AnyKernel3 zip!", null);
return;
}
installerMonitor = new InstallerMonitor(installExecutable);

Loading…
Cancel
Save