From 951b07ddf43a1841a3011278d8af11ff90927556 Mon Sep 17 00:00:00 2001 From: luojian Date: Fri, 11 Jul 2025 10:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=B7=E6=B7=86application?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/project_proguard.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/project_proguard.py b/scripts/project_proguard.py index 1f9961e..f23de59 100644 --- a/scripts/project_proguard.py +++ b/scripts/project_proguard.py @@ -65,6 +65,9 @@ launchercode = "launchercode" lawn_layout = "res/layout".replace("/", os.sep) +qucikset_manifest = "quickstep/AndroidManifest-launcher.xml".replace("/", os.sep) +lawn_manifest = "AndroidManifest.xml".replace("/", os.sep) + class ProjectProguard(Task): def __init__(self, context: Context): @@ -168,6 +171,8 @@ class ProjectProguard(Task): self.update_proguard(os.path.join(self.context.temp_project_path, xml_path)) self.update_proguard(os.path.join(self.context.temp_project_path, launcher_code_path)) self.update_proguard(os.path.join(self.context.temp_project_path, src_code_path)) + self.update_proguard(os.path.join(self.context.temp_project_path, qucikset_manifest)) + self.update_proguard(os.path.join(self.context.temp_project_path, lawn_manifest)) self.update_proguard(os.path.join(self.context.temp_project_path, lawn_layout))