fix: missing set security patch option in beakthoven's fork

latest version of beakthoven's TS fork has removed other author from module.prop and causing unsupported version.
This commit is contained in:
KOWX712
2025-08-09 22:37:36 +08:00
parent 0a9750902d
commit b5d4efb292

View File

@@ -68,7 +68,7 @@ function checkTrickyStoreVersion() {
const securityPatchElement = document.getElementById('security-patch'); const securityPatchElement = document.getElementById('security-patch');
exec(` exec(`
TS_version=$(grep "versionCode=" "/data/adb/modules/tricky_store/module.prop" | cut -d'=' -f2) TS_version=$(grep "versionCode=" "/data/adb/modules/tricky_store/module.prop" | cut -d'=' -f2)
if grep -q "James" "/data/adb/modules/tricky_store/module.prop"; then if grep -qE "James|beakthoven" "/data/adb/modules/tricky_store/module.prop"; then
echo 0 echo 0
elif [ "$TS_version" -ge 158 ]; then elif [ "$TS_version" -ge 158 ]; then
echo 0 echo 0
@@ -123,7 +123,7 @@ export function linkRedirect(link) {
.then(({ errno }) => { .then(({ errno }) => {
if (errno !== 0) toast("Failed to open link"); if (errno !== 0) toast("Failed to open link");
}); });
},100); }, 100);
} }
// Save configure and preserve ! and ? in target.txt // Save configure and preserve ! and ? in target.txt