From 857f645131b3e5d0f6554a4cf8cea33ebb3db4c3 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Sun, 31 Dec 2023 11:54:55 +0800 Subject: [PATCH] fix: windows package output path (#4265) --- frontend/Makefile.toml | 2 +- frontend/scripts/makefile/flutter.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml index b24e660bf3..466c17ae4d 100644 --- a/frontend/Makefile.toml +++ b/frontend/Makefile.toml @@ -127,7 +127,7 @@ FLUTTER_OUTPUT_DIR = "Release" PRODUCT_EXT = "exe" CRATE_TYPE = "cdylib" LIB_EXT = "dll" -BUILD_ARCHS = "x86" +BUILD_ARCHS = "x64" APP_ENVIRONMENT = "production" [env.development-linux-x86_64] diff --git a/frontend/scripts/makefile/flutter.toml b/frontend/scripts/makefile/flutter.toml index 7906374903..4aebcb5b90 100644 --- a/frontend/scripts/makefile/flutter.toml +++ b/frontend/scripts/makefile/flutter.toml @@ -210,7 +210,7 @@ script = [ mkdir ${output_path} product= set ${PRODUCT_NAME} - glob_cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/appflowy_flutter/build/${TARGET_OS}/runner/${FLUTTER_OUTPUT_DIR}/**/* \ + glob_cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/appflowy_flutter/build/${TARGET_OS}/${BUILD_ARCHS}/runner/${FLUTTER_OUTPUT_DIR}/**/* \ ${output_path}/${product} """, ]