From a816883009e2987540b751c5a17d21fbadf0cf92 Mon Sep 17 00:00:00 2001 From: xiaoxiaowesley Date: Fri, 5 Jan 2024 13:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8flutterProj?= =?UTF-8?q?ect.ohos.ohosRoot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiaoxiaowesley --- packages/flutter_tools/lib/src/ohos/ohos_plugins_manager.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/ohos/ohos_plugins_manager.dart b/packages/flutter_tools/lib/src/ohos/ohos_plugins_manager.dart index 5006744f61..486e010524 100644 --- a/packages/flutter_tools/lib/src/ohos/ohos_plugins_manager.dart +++ b/packages/flutter_tools/lib/src/ohos/ohos_plugins_manager.dart @@ -74,7 +74,7 @@ Future checkPluginsHarUpdate(FlutterProject flutterProject, for (final String path in harPaths) { final File originFile = globals.fs.file(path); final String descPath = globals.fs.path.join( - flutterProject.ohos.flutterModuleDirectory.childDirectory('har').path, + flutterProject.ohos.ohosRoot.childDirectory('har').path, originFile.basename); originFile.copySync(descPath); } -- Gitee