feat: build macOS dmgs with correct archs - #226
Draft
VillagerTom wants to merge 5 commits into
Draft
Conversation
…g, fix missing awaits - Replace --arch auto flag with implicit fallback via ArchExt.same - Remove systemArch/_mapHostArch (superseded by ArchExt.same) - Keep _expectedOutputs etc. for --ensure support - Add missing awaits for buildHelper and _buildDistributor calls - Consolidate .vscode/ tasks and launch configs into single auto-detecting entries # Conflicts: # setup.dart
…invalid arch parameters
- When --arch=universal, the script builds cores of of both archs, and merges them into one fat binary - When any valid parameter is specified (or omitted), the script now builds the app in the current arch, instead of a universal flutter app with a sinigle-arch core
Owner
|
@VillagerTom 意义何在? |
Contributor
Author
|
Owner
|
@VillagerTom 实际场景是啥,arm64和AMD64不同架构,AMD64和Compatible编译参数也不一样 |
Contributor
Author
体现在release上就是安装包体积减小了——原本虽然叫 arm64 amd64 但是只有 core 是单架构,浪费空间 |
Contributor
Author
|
傻贝了🌚,今天突然想到,既然目的是“通用安装包”,那么直接强制 |
VillagerTom
marked this pull request as draft
July 4, 2026 12:05
appshubcc
force-pushed
the
main
branch
3 times, most recently
from
July 7, 2026 01:35
6280e0f to
d05cf43
Compare
Contributor
Author
appshubcc
force-pushed
the
main
branch
2 times, most recently
from
July 18, 2026 17:07
bb605a0 to
570c649
Compare
appshubcc
force-pushed
the
main
branch
2 times, most recently
from
August 13, 2026 04:12
95bde57 to
c0bb574
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--arch=universal时,脚本会构建两种架构的 core,并将它们合并为一个通用二进制文件(fat binary)。