manager: Add hook type info

This commit is contained in:
ShirkNeko
2025-08-14 22:59:37 +08:00
parent 49b01aad74
commit e96194c7ff
3 changed files with 11 additions and 0 deletions

View File

@@ -727,6 +727,15 @@ private fun InfoCard(
icon = Icons.Default.SettingsSuggest,
)
if (!isSimpleMode &&
(systemInfo.suSFSStatus != "Supported")) {
InfoCardItem(
stringResource(R.string.home_hook_type),
Natives.getHookType(),
icon = Icons.Default.Link
)
}
// 活跃管理器
if (!isSimpleMode && systemInfo.isDynamicSignEnabled && systemInfo.managersList != null) {
val signatureMap = systemInfo.managersList.managers.groupBy { it.signatureIndex }

View File

@@ -621,4 +621,5 @@
<string name="module_signature_invalid">未知发布者</string>
<string name="module_signature_invalid_message">未经签名的模块可能不完整。为了对设备进行保护,已阻止安装此模块。</string>
<string name="module_signature_verification_failed">未经签名的模块可能不完整。你想安装来自未知发布者的模块吗?</string>
<string name="home_hook_type">钩子类型: %s</string>
</resources>

View File

@@ -629,4 +629,5 @@ Important Note:\n
<string name="module_signature_invalid">Unknown publisher</string>
<string name="module_signature_invalid_message">Unsigned modules may be incomplete. To protect your device, installation of this module has been blocked.</string>
<string name="module_signature_verification_failed">Unsigned modules may be incomplete. Do you want to allow the following module from an unknown publisher to install in this device?</string>
<string name="home_hook_type">Hook type: %s</string>
</resources>