From dc7a0e44fd78d7cac841fc7a74d9dcaf86585fca Mon Sep 17 00:00:00 2001 From: siyao Date: Thu, 1 Jul 2021 12:41:36 +0800 Subject: [PATCH] fix win build --- engine/Scripts/lib_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/Scripts/lib_build.py b/engine/Scripts/lib_build.py index c514be64..a4e1a2d0 100644 --- a/engine/Scripts/lib_build.py +++ b/engine/Scripts/lib_build.py @@ -127,7 +127,7 @@ def set_env_verb(): global flutter_root_path flutter_root_path = os.getenv('FLUTTER_ROOT_PATH', 'null') if flutter_root_path == 'null': - os.environ["FLUTTER_ROOT_PATH"] = engine_path + "/engine/src" + os.environ["FLUTTER_ROOT_PATH"] = os.path.join(engine_path, "engine","src") flutter_root_path = os.getenv('FLUTTER_ROOT_PATH') else: print("This environment variable has been set, skip")