Opti the translation, corrected typos in the README.

Added new permissions and activity-aliases to AndroidManifest.xml, updated provider permissions, and adjusted service export settings. Improved the Chinese translation for storage selection. Fixed typos in the README project name.
This commit is contained in:
NkBe 2025-08-17 23:37:31 +08:00
parent 147d93c5dc
commit 7881387bb2
No known key found for this signature in database
GPG Key ID: 75EF144ED8F4D7B8
4 changed files with 18 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# Natch Framework # NPatch Framework
[![Build](https://img.shields.io/github/actions/workflow/status/7723mod/NPatch/main.yml?branch=master&logo=github&label=Build&event=push)](https://github.com/7723mod/NPatch/actions/workflows/main.yml?query=event%3Apush+is%3Acompleted+branch%3Amaster) [![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://crowdin.com/project/lspatch_jingmatrix) [![Download](https://img.shields.io/github/v/release/7723mod/NPatch?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/7723mod/NPatch/releases/latest) [![Total](https://shields.io/github/downloads/7723mod/NPatch/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/7723mod/NPatch/releases) [![Build](https://img.shields.io/github/actions/workflow/status/7723mod/NPatch/main.yml?branch=master&logo=github&label=Build&event=push)](https://github.com/7723mod/NPatch/actions/workflows/main.yml?query=event%3Apush+is%3Acompleted+branch%3Amaster) [![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://crowdin.com/project/lspatch_jingmatrix) [![Download](https://img.shields.io/github/v/release/7723mod/NPatch?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/7723mod/NPatch/releases/latest) [![Total](https://shields.io/github/downloads/7723mod/NPatch/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/7723mod/NPatch/releases)

View File

@ -2,6 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="com.rosan.dhizuku.permission.API"/>
<uses-permission <uses-permission
android:name="android.permission.QUERY_ALL_PACKAGES" android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" /> tools:ignore="QueryAllPackagesPermission" />
@ -27,6 +29,12 @@
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity>
<activity-alias
android:name=".ui.activity.InstallActivity"
android:enabled="false"
android:exported="true"
android:targetActivity=".ui.activity.MainActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -35,15 +43,18 @@
<data android:scheme="content" /> <data android:scheme="content" />
<data android:mimeType="application/vnd.android.package-archive" /> <data android:mimeType="application/vnd.android.package-archive" />
</intent-filter> </intent-filter>
</activity> </activity-alias>
<service <service
android:name=".manager.ModuleService" android:name=".manager.ModuleService"
android:exported="true" /> android:exported="true"
tools:ignore="ExportedService" />
<provider <provider
android:name="rikka.shizuku.ShizukuProvider" android:name="rikka.shizuku.ShizukuProvider"
android:authorities="org.lsposed.lspatch.shizuku" android:authorities="${applicationId}.shizuku"
android:enabled="true" android:enabled="true"
android:exported="true" android:exported="true"
android:multiprocess="false" android:multiprocess="false"

View File

@ -48,7 +48,7 @@
<string name="patch_select_dir_title">选择存储目录</string> <string name="patch_select_dir_title">选择存储目录</string>
<string name="patch_select_dir_text">选择一个目录来存储已修补的 apk</string> <string name="patch_select_dir_text">选择一个目录来存储已修补的 apk</string>
<string name="patch_select_dir_error">设置存储目录时出错</string> <string name="patch_select_dir_error">设置存储目录时出错</string>
<string name="patch_from_storage">从存储目录中选择(多个)apk</string> <string name="patch_from_storage">从存储目录中选择 (多个) apk</string>
<string name="patch_from_applist">选择已安装的应用程序</string> <string name="patch_from_applist">选择已安装的应用程序</string>
<string name="patch_mode">修补模式</string> <string name="patch_mode">修补模式</string>
<string name="patch_local">本地模式</string> <string name="patch_local">本地模式</string>

View File

@ -48,7 +48,7 @@
<string name="patch_select_dir_title">選擇儲存資料夾</string> <string name="patch_select_dir_title">選擇儲存資料夾</string>
<string name="patch_select_dir_text">選擇一個資料夾儲存打包好的 apk</string> <string name="patch_select_dir_text">選擇一個資料夾儲存打包好的 apk</string>
<string name="patch_select_dir_error">設定儲存資料夾出錯</string> <string name="patch_select_dir_error">設定儲存資料夾出錯</string>
<string name="patch_from_storage">從儲存空間中選取 apk</string> <string name="patch_from_storage">從儲存空間中選取 (多个) apk</string>
<string name="patch_from_applist">選取已安裝的應用程式</string> <string name="patch_from_applist">選取已安裝的應用程式</string>
<string name="patch_mode">打包模式</string> <string name="patch_mode">打包模式</string>
<string name="patch_local">本機</string> <string name="patch_local">本機</string>