From 9a77970fce7e14783ba4ce3aa64797da1a2a9203 Mon Sep 17 00:00:00 2001 From: lloyd <353627866@qq.com> Date: Sat, 23 Aug 2025 15:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E7=8E=B0=E4=B8=80=E9=94=AE?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=B2=99=E7=AE=B1=E6=96=87=E4=BB=B6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=91=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 10 +++++----- README.md | 6 +++--- build-profile.json5 | 3 ++- entry/obfuscation-rules.txt | 0 entry/src/main/resources/base/element/string.json | 2 +- entry/src/main/resources/en_US/element/string.json | 2 +- entry/src/main/resources/zh_CN/element/string.json | 2 +- oh-package.json5 | 2 -- 8 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 entry/obfuscation-rules.txt diff --git a/README.en.md b/README.en.md index 3204a70..16be3c6 100644 --- a/README.en.md +++ b/README.en.md @@ -29,11 +29,11 @@ The RDB store file function facilitates file transfer between the device and the │ ├──entryability │ │ └──EntryAbility.ets // Entry ability │ ├──entrybackupability -│ │ └──EntryBackupAbility.ets // Data backup and restoration +│ │ └──EntryBackupAbility.ets // Data backup and restoration │ └──pages │ ├──Index.ets // Home page │ └──File.ets // File list page -└──entry/src/main/resources // App resource directory +└──entry/src/main/resources // App resource directory ``` ## Permissions @@ -46,8 +46,8 @@ Ensure that these permissions are added in the **module.json5** file. 1. The sample is only supported on Huawei phones with standard systems. -2. The HarmonyOS version must be HarmonyOS 5.0.4 Release or later. +2. The HarmonyOS version must be HarmonyOS 5.0.5 Release or later. -3. The DevEco Studio version must be DevEco Studio 5.0.4 Release or later. +3. The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS 5.0.4 Release SDK or later. \ No newline at end of file +4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. \ No newline at end of file diff --git a/README.md b/README.md index 689da57..ab6a464 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ 1.本示例仅支持标准系统上运行,支持设备:华为手机。 -2.HarmonyOS系统:HarmonyOS 5.0.4 Release及以上。 +2.HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3.DevEco Studio版本:DevEco Studio 5.0.4 Release及以上。 +3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.4 Release SDK及以上。 \ No newline at end of file +4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file diff --git a/build-profile.json5 b/build-profile.json5 index 8578ca7..3888570 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -4,7 +4,8 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.4(16)", + "compatibleSdkVersion": "5.0.5(17)", + "targetSdkVersion": "5.0.5(17)", "runtimeOS": "HarmonyOS" } ], diff --git a/entry/obfuscation-rules.txt b/entry/obfuscation-rules.txt new file mode 100644 index 0000000..e69de29 diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index 48fe4fb..2cfa16d 100644 --- a/entry/src/main/resources/base/element/string.json +++ b/entry/src/main/resources/base/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "FileDebug" + "value": "GenerateSandboxFile" }, { "name": "tab1", diff --git a/entry/src/main/resources/en_US/element/string.json b/entry/src/main/resources/en_US/element/string.json index d28f0fa..2abb052 100644 --- a/entry/src/main/resources/en_US/element/string.json +++ b/entry/src/main/resources/en_US/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "FileDebug" + "value": "GenerateSandboxFile" }, { "name": "tab1", diff --git a/entry/src/main/resources/zh_CN/element/string.json b/entry/src/main/resources/zh_CN/element/string.json index 4856c1d..b474be1 100644 --- a/entry/src/main/resources/zh_CN/element/string.json +++ b/entry/src/main/resources/zh_CN/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "本地文件与数据调试" + "value": "生成沙箱文件" }, { "name": "tab1", diff --git a/oh-package.json5 b/oh-package.json5 index ebdda7e..8bf916d 100644 --- a/oh-package.json5 +++ b/oh-package.json5 @@ -4,7 +4,5 @@ "dependencies": { }, "devDependencies": { - "@ohos/hypium": "1.0.18", - "@ohos/hamock": "1.0.0" } } -- Gitee