From 1464c211634e5beb038ff7dadd46f7bd941cb63e Mon Sep 17 00:00:00 2001 From: Der_Googler <54764558+DerGoogler@users.noreply.github.com> Date: Sat, 11 May 2024 15:31:47 +0200 Subject: [PATCH] fix magisk error --- Website/src/native/Shell.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Website/src/native/Shell.ts b/Website/src/native/Shell.ts index 543416d9..71059e01 100644 --- a/Website/src/native/Shell.ts +++ b/Website/src/native/Shell.ts @@ -152,7 +152,7 @@ class ShellClass extends Native { */ public isKernelSU(): boolean { // `proc.exist()` is always `false` on browsers - return this._mountDetect(/(KSU|KernelSU)/i); + return this._mountDetect(/(KSU|KernelSU)/); } /** @@ -160,7 +160,7 @@ class ShellClass extends Native { */ public isMagiskSU(): boolean { // `proc.exist()` is always `false` on browsers - return this._mountDetect(/(magisk|core\/mirror|core\/img)/i); + return this._mountDetect(/(magisk|core\/mirror|core\/img)/); } /** @@ -168,7 +168,7 @@ class ShellClass extends Native { */ public isAPatchSU(): boolean { // `proc.exist()` is always `false` on browsers - return this._mountDetect(/(APD|APatch)/i); + return this._mountDetect(/(APD|APatch)/); } /**