From 195edf7087a6c6572ed563c90f8a819e23b44d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=97=E6=9C=A8?= Date: Wed, 9 Oct 2024 15:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E8=BD=AF=E8=BF=9E=E6=8E=A5=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 狗木 --- packages/flutter_tools/lib/src/ohos/application_package.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/ohos/application_package.dart b/packages/flutter_tools/lib/src/ohos/application_package.dart index aad92515af..c2e2ab987a 100644 --- a/packages/flutter_tools/lib/src/ohos/application_package.dart +++ b/packages/flutter_tools/lib/src/ohos/application_package.dart @@ -273,7 +273,7 @@ class OhosModule { required String modulePath, String? flavor, }) { - modulePath = globals.fs.path.normalize(modulePath); + modulePath = globals.fs.path.normalize(globals.fs.file(modulePath).resolveSymbolicLinksSync()); final String moduleJsonPath = globals.fs.path.join(modulePath, 'src', 'main', 'module.json5'); final File moduleJsonFile = globals.fs.file(moduleJsonPath); -- Gitee