diff --git a/manager/src/main/res/values-zh-rCN/strings.xml b/manager/src/main/res/values-zh-rCN/strings.xml index 9302368..4b5a8c7 100644 --- a/manager/src/main/res/values-zh-rCN/strings.xml +++ b/manager/src/main/res/values-zh-rCN/strings.xml @@ -52,9 +52,9 @@ 选择已安装的应用程序 修补模式 本地模式 - 为未嵌入模块的应用程序打补丁。\nXposed 范围可动态更改,无需重新打补丁。\n打了本地补丁的应用程序只能在本地设备上运行。 + 为未嵌入模块的应用程序打补丁。\nXposed 范围可动态更改,无需重新打补丁。\n此模式下的应用程式只能在本地设备上与 NPatch 管理器搭配使用。 集成模式 - 修补 App 并内置模块。\n经修补的应用可以在没有管理器的情况下运行,但不能动态管理配置。\n以集成模式修补的应用可在未安装 NPatch 管理器的设备上运行。 + 修补 App 并内置模块。\n经修补的应用可以在没有管理器的情况下独立运行,但不能动态管理配置。\n此模式适用于需要在未安装 NPatch 管理器的设备上运行的应用程式。 嵌入模块 可调试 破解签名校验 diff --git a/manager/src/main/res/values-zh-rTW/strings.xml b/manager/src/main/res/values-zh-rTW/strings.xml index 2623ed1..d871740 100644 --- a/manager/src/main/res/values-zh-rTW/strings.xml +++ b/manager/src/main/res/values-zh-rTW/strings.xml @@ -51,10 +51,10 @@ 從儲存空間中選取 (多个) apk 選取已安裝的應用程式 打包模式 - 本機 - 修補未嵌入模組的應用程式。\nXpose 範圍可以動態更改,無需重新修補。\n本地修補的應用程式只能在本機裝置上運作。 + 本地模式 + 為未嵌入模組的應用程式打補丁。\nXposed 範圍可動態更改,無需重新打補丁。\n此模式下的應用程式只能在本地裝置上與 NPatch 管理器搭配使用。 集成模式 - 打包內建模組的應用程式。\n打包後的程式,可以在沒有管理器的情況下執行,但無法動態管理啟用的模組。\n以集成模式打包的應用程式,可以在沒有安裝 NPatch Manager 的裝置上使用。 + 修補 App 並內建模組。\n經修補的應用可以在沒有管理器的情況下獨立執行,但不能動態管理配置。\n此模式適用於需要在未安裝 NPatch 管理器的裝置上執行的應用程式。 內建模組 程式可偵錯 破解簽名驗證 diff --git a/manager/src/main/res/values/strings.xml b/manager/src/main/res/values/strings.xml index 4d88c04..2fb97d1 100644 --- a/manager/src/main/res/values/strings.xml +++ b/manager/src/main/res/values/strings.xml @@ -54,9 +54,9 @@ Select an installed app Patch Mode Local - Patch an app without modules embedded.\nXposed scope can be changed dynamically without re-patch.\nLocal patched apps can only run on the local device. + Patches apps without embedding modules.\nThe Xposed scope can be dynamically changed without needing to re-patch.\nThis mode can only be used locally with the NPatch Manager. Integrated - Patch an app with modules embedded.\nThe patched app can run without the manager, but cannot be managed dynamically.\nIntegrated patched apps can be used on devices that do not have NPatch Manager installed. + Patches apps with built-in modules.\nThe patched app can run independently without the Manager, but it cannot dynamically manage configurations.\nThis mode is suitable for apps that need to run on devices without the NPatch Manager installed. Embed modules Debuggable Signature bypass diff --git a/patch-loader/src/main/java/org/lsposed/lspatch/loader/LSPApplication.java b/patch-loader/src/main/java/org/lsposed/lspatch/loader/LSPApplication.java index eeb0591..c3af21b 100644 --- a/patch-loader/src/main/java/org/lsposed/lspatch/loader/LSPApplication.java +++ b/patch-loader/src/main/java/org/lsposed/lspatch/loader/LSPApplication.java @@ -19,7 +19,7 @@ import org.json.JSONArray; import org.json.JSONObject; import org.lsposed.lspatch.loader.util.FileUtils; import org.lsposed.lspatch.loader.util.XLog; -import org.lsposed.lspatch.service.LocalApplicationService; +import org.lsposed.lspatch.service.NeoLocalApplicationService; import org.lsposed.lspatch.service.RemoteApplicationService; import org.lsposed.lspatch.share.PatchConfig; import org.lsposed.lspd.core.Startup; @@ -99,11 +99,11 @@ public class LSPApplication { Log.e(TAG, "Success update module scope"); }catch (Exception e){ Log.e(TAG, "Failed to connect to manager, fallback to fixed local service"); - service = new LocalApplicationService(context); + service = new NeoLocalApplicationService(context); } } else { - service = new LocalApplicationService(context); + service = new NeoLocalApplicationService(context); } Startup.initXposed(false, ActivityThread.currentProcessName(), context.getApplicationInfo().dataDir, service); diff --git a/patch-loader/src/main/java/org/lsposed/lspatch/service/LocalApplicationService.java b/patch-loader/src/main/java/org/lsposed/lspatch/service/NeoLocalApplicationService.java similarity index 95% rename from patch-loader/src/main/java/org/lsposed/lspatch/service/LocalApplicationService.java rename to patch-loader/src/main/java/org/lsposed/lspatch/service/NeoLocalApplicationService.java index adfcfd6..0f804fe 100644 --- a/patch-loader/src/main/java/org/lsposed/lspatch/service/LocalApplicationService.java +++ b/patch-loader/src/main/java/org/lsposed/lspatch/service/NeoLocalApplicationService.java @@ -19,10 +19,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; -public class LocalApplicationService extends ILSPApplicationService.Stub { +public class NeoLocalApplicationService extends ILSPApplicationService.Stub { private static final String TAG = "NPatch"; private final List cachedModule; - public LocalApplicationService(Context context){ + public NeoLocalApplicationService(Context context){ SharedPreferences shared = context.getSharedPreferences("npatch", Context.MODE_PRIVATE); cachedModule = new ArrayList<>(); try {