Add Built-in Patch Support (#3)

This commit is contained in:
chinosk
2024-08-06 11:27:40 -05:00
committed by GitHub
parent 0e1ad6959b
commit adb1a687b8
70 changed files with 19701 additions and 45 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 781 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 876 KiB

@@ -73,8 +73,33 @@
<string name="invalid_zip_file">文件解析失败</string>
<string name="invalid_zip_file_warn">此文件不是一个有效的 ZIP 翻译资源包</string>
<string name="cancel">取消</string>
<string name="ok">确定</string>
<string name="downloaded_resource_version">已下载资源版本</string>
<string name="del_remote_after_update">替换文件后删除下载缓存</string>
<string name="warning">注意</string>
<string name="install">安装</string>
<string name="installing">安装中</string>
<string name="check_resource_from_api">从服务器检查热更新资源</string>
<string name="api_addr">API 地址(Github Latest Release API</string>
<string name="check_update">检查更新</string>
<string name="translation_resource_update">翻译资源更新</string>
<string name="game_patch">游戏修补</string>
<string name="patch_mode">修补模式</string>
<string name="patch_local">本地模式</string>
<string name="patch_local_desc">为未嵌入模块的应用程序打补丁。\nXposed 范围可动态更改,无需重新打补丁。\n打了本地补丁的应用程序只能在本地设备上运行。</string>
<string name="patch_integrated">集成模式</string>
<string name="patch_integrated_desc">修补 App 并内置模块。\n经修补的应用可以在没有管理器的情况下运行,但不能动态管理配置。\n以集成模式修补的应用可在未安装 LSPatch 管理器的设备上运行。</string>
<string name="shizuku_available">Shizuku 服务可用</string>
<string name="shizuku_unavailable">Shizuku 服务未连接</string>
<string name="home_shizuku_warning">部分功能不可用</string>
<string name="patch_debuggable">可调试</string>
<string name="reserve_patched">安装时保留修补包</string>
<string name="support_file_types">支持文件类型:\n单/多选 apk\n单选 apks, xapk, zip</string>
<string name="patch_uninstall_text">由于签名不同,安装修补的应用前需要先卸载原应用。\n确保您已备份好个人数据。</string>
<string name="patch_uninstall_confirm">您确定要卸载吗</string>
<string name="patch_finished">修补完成,是否开始安装?</string>
<string name="about_contributors_asset_file">about_contributors_zh_cn.json</string>
<string name="default_assets_check_api">https://uma.chinosk6.cn/api/gkms_trans_data</string>
</resources>
+25
View File
@@ -73,8 +73,33 @@
<string name="invalid_zip_file">Invalid file</string>
<string name="invalid_zip_file_warn">This file is not a valid ZIP translation resource pack.</string>
<string name="cancel">Cancel</string>
<string name="ok">OK</string>
<string name="downloaded_resource_version">Downloaded Version</string>
<string name="del_remote_after_update">Delete Cache File After Update</string>
<string name="warning">Warning</string>
<string name="install">Install</string>
<string name="installing">Installing</string>
<string name="check_resource_from_api">Check Resource Update From API</string>
<string name="api_addr">API AddressGithub Latest Release API</string>
<string name="check_update">Check</string>
<string name="translation_resource_update">Translation Resource Update</string>
<string name="game_patch">Game Patch</string>
<string name="patch_mode">Patch Mode</string>
<string name="patch_local">Local</string>
<string name="patch_local_desc">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.</string>
<string name="patch_integrated">Integrated</string>
<string name="patch_integrated_desc">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 LSPatch Manager installed.</string>
<string name="shizuku_available">Shizuku service available</string>
<string name="shizuku_unavailable">Shizuku service not connected</string>
<string name="home_shizuku_warning">Some functions unavailable</string>
<string name="patch_debuggable">Debuggable</string>
<string name="reserve_patched">Reserve Patched APK</string>
<string name="support_file_types">Supported files:\nSingle/Multiple Choice: apk\nSingle Choice: apks, xapk, zip</string>
<string name="patch_uninstall_text">Due to different signatures, you need to uninstall the original app before installing the patched one.\nMake sure you have backed up personal data.</string>
<string name="patch_uninstall_confirm">Are you sure you want to uninstall?</string>
<string name="patch_finished">Patch finished. Start installing?</string>
<string name="about_contributors_asset_file">about_contributors_en.json</string>
<string name="default_assets_check_api">https://api.github.com/repos/NatsumeLS/Gakumas-Translation-Data-EN/releases/latest</string>
</resources>