From fcddc88f1d7f72418fbf90aef32b207d7f3fd03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=81=A5=E8=8E=B9?= Date: Mon, 8 Apr 2024 08:54:54 +0800 Subject: [PATCH] chore(flutter_app_builder): macOS ignore app in frameworks --- .../lib/src/builders/macos/build_macos_result.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_app_builder/lib/src/builders/macos/build_macos_result.dart b/packages/flutter_app_builder/lib/src/builders/macos/build_macos_result.dart index c1748f6c..873d8795 100644 --- a/packages/flutter_app_builder/lib/src/builders/macos/build_macos_result.dart +++ b/packages/flutter_app_builder/lib/src/builders/macos/build_macos_result.dart @@ -10,7 +10,7 @@ class BuildMacOsResultResolver extends BuildResultResolver { @override BuildResult resolve(BuildConfig config) { final r = BuildMacOsResult(config); - final String pattern = '${r.outputDirectory.path}/**.app'; + final String pattern = '${r.outputDirectory.path}/*.app'; r.outputFiles = Glob(pattern).listSync().map((e) => File(e.path)).toList(); return r; }