From ad73b68eda7701eae6fd4e41f6589656ca2b2635 Mon Sep 17 00:00:00 2001 From: wcedla Date: Wed, 6 Mar 2024 23:05:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwindows=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=AF=B9dart.patch=E6=8D=A2=E8=A1=8C=E7=AC=A6=E7=9A=84?= =?UTF-8?q?=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F=E4=B8=8D=E5=90=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4dart=20vm=20snapshot=20hash=E4=B8=8E=E9=A2=84=E6=9C=9F?= =?UTF-8?q?=E4=B8=8D=E5=90=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wcedla --- .gitattributes | 3 ++- README.en.md | 13 ++++++++++++- README.md | 11 +++++++++++ attachment/repos/dart.patch0 | 2 +- attachment/repos/dart.patch1 | 2 +- attachment/repos/dart.patch2 | 2 +- 6 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index 915d1ed51d..7d94e09613 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ # Dart sources have to be normalized so that source offsets in kernel files # with source embedded in them match across all platforms. -*.dart text eol=lf \ No newline at end of file +*.dart text eol=lf +*.patch* text eol=lf \ No newline at end of file diff --git a/README.en.md b/README.en.md index 3fdf8e6498..b9ebea7120 100644 --- a/README.en.md +++ b/README.en.md @@ -64,13 +64,24 @@ export OHOS_SDK_HOME= ## FAQ: 1. When running the project, an error of Member notfound:'isOhos' is reported: Please ensure that all dart patches are applied in the src/third_party/dart directory (the patches are located in the src/flutter/attachment/repos directory, and you can use git apply to apply the patch). Recompile the engine after patching - + 2. Prompt Permission denied: Execute chmod +x