From 8434c49b73e1a51429b904418cc50b0f9747f776 Mon Sep 17 00:00:00 2001 From: lloyd <754415+llince@user.noreply.gitee.com> Date: Tue, 5 Nov 2024 19:20:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ArkWeb=E5=90=8C=E5=B1=82=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E3=80=91=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/obfuscation-rules.txt | 6 +++++- entry/src/main/module.json5 | 4 +--- 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 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/entry/obfuscation-rules.txt b/entry/obfuscation-rules.txt index 985b2ae..a1dfa0b 100644 --- a/entry/obfuscation-rules.txt +++ b/entry/obfuscation-rules.txt @@ -15,4 +15,8 @@ # Keep options: # -keep-property-name: specifies property names that you want to keep -# -keep-global-name: specifies names that you want to keep in the global scope \ No newline at end of file +# -keep-global-name: specifies names that you want to keep in the global scope +-enable-property-obfuscation +-enable-toplevel-obfuscation +-enable-filename-obfuscation +-enable-export-obfuscation \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index de78b5c..5f6f8e1 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -5,9 +5,7 @@ "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ - "phone", - "tablet", - "2in1" + "phone" ], "deliveryWithInstall": true, "installationFree": false, diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index e398c25..2736640 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": "label" + "value": "ArkWebSameLevelRendering" }, { "name": "embed_product_title000", diff --git a/entry/src/main/resources/en_US/element/string.json b/entry/src/main/resources/en_US/element/string.json index e9fd762..a334e7d 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": "label" + "value": "ArkWebSameLevelRendering" }, { "name": "embed_product_title000", diff --git a/entry/src/main/resources/zh_CN/element/string.json b/entry/src/main/resources/zh_CN/element/string.json index e398c25..f80723e 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": "label" + "value": "ArkWeb同层渲染" }, { "name": "embed_product_title000", -- Gitee