Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: adjust flutter windows release path (#4257)

Lucas.Xu2f6a4f8c7b82
diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml
index 947ec93e3b..b24e660bf3 100644
--- a/frontend/Makefile.toml
+++ b/frontend/Makefile.toml
@@ -127,6 +127,7 @@ FLUTTER_OUTPUT_DIR = "Release"
PRODUCT_EXT = "exe"
CRATE_TYPE = "cdylib"
LIB_EXT = "dll"
+BUILD_ARCHS = "x86"
APP_ENVIRONMENT = "production"
[env.development-linux-x86_64]
diff --git a/frontend/scripts/code_generation/freezed/generate_freezed.cmd b/frontend/scripts/code_generation/freezed/generate_freezed.cmd
index 64d7e8754e..f543e08fd5 100644
--- a/frontend/scripts/code_generation/freezed/generate_freezed.cmd
+++ b/frontend/scripts/code_generation/freezed/generate_freezed.cmd
@@ -12,6 +12,7 @@ cd ..\..\..\appflowy_flutter
REM Navigate to the appflowy_flutter directory and generate files
echo Generating files for appflowy_flutter
REM call flutter packages pub get
+call flutter packages pub get
call dart run build_runner clean && call dart run build_runner build -d
echo Done generating files for appflowy_flutter