Optimize the error handling logic for loading and unloading modules, this will fix the file type error, and more detail handling-2

This commit is contained in:
ShirkNeko
2025-04-02 00:36:08 +08:00
parent fbf2799674
commit d925036bd6
7 changed files with 151 additions and 47 deletions

View File

@@ -239,6 +239,11 @@
<string name="kpm_control_success">成功</string>
<string name="kpm_control_failed">错误</string>
<string name="not_supported">不支持</string>
<string name="supported">支持</string>
<string name="home_kpm_module">KPM 模块数:%d </string>
<string name="kpm_invalid_file">KPM 文件无效</string>
<string name="kernel_patched">内核未进行补丁</string>
<string name="kernel_not_enabled">内核未配置</string>
<string name="kernel_module_notice">以下内核模块功能由KernelPatch开发经过修改后加入SukiSU Ultra的内核模块功能</string>
<string name="home_ContributionCard_kernelsu">SukiSU Ultra展望</string>
<string name="home_click_to_ContributionCard_kernelsu">SukiSU Ultra未来将会成为一个相对独立的KSU分支但是依然感谢官方KernelSU和MKSU等做出的贡献</string>

View File

@@ -245,4 +245,9 @@
<string name="kpm_control_failed">failed</string>
<string name="home_click_to_ContributionCard_kernelsu">SukiSU Ultra will be a relatively independent branch of KSU in the future, but thanks to the official KernelSU and MKSU etc. for their contributions!</string>
<string name="not_supported">unsupported</string>
<string name="supported">supported</string>
<string name="home_kpm_module">Number of KPM modules%d </string>
<string name="kpm_invalid_file">Invalid KPM file</string>
<string name="kernel_patched">Kernel not patched</string>
<string name="kernel_not_enabled">Kernel not configured</string>
</resources>