Skip to content

重构构建流程,使本地构建在非 Debian/Ubuntu 环境可用 - #45

Closed
VillagerTom wants to merge 18 commits into
appshubcc:mainfrom
VillagerTom:build_refactor
Closed

重构构建流程,使本地构建在非 Debian/Ubuntu 环境可用#45
VillagerTom wants to merge 18 commits into
appshubcc:mainfrom
VillagerTom:build_refactor

Conversation

@VillagerTom

@VillagerTom VillagerTom commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Feat:

  1. 将安装 apt 依赖、安装 appimagetool、appdmg 等步骤转移至 build.yaml
  2. setup.dart 仅检查构建环境并抛出警告
  3. 添加 CI 手动触发,手动触发时 IS_STABLE 为 false (建议安装 GitHub Actions ManagerGitHub Actions for VS Code)
  4. 添加 zip 格式 Linux 二进制包 (CI 未启用)
  5. setup.dart 添加 targets 参数,可指定 Linux 打包格式
  6. 在 README 中添加本地构建教程

Fix:

  1. 添加 Fluter 编译参数,削减 dmg 安装包体积 (胖二进制)
  2. 修正 setup.dart 命令行帮助选项

(使用 OpenCode 辅助开发)

@VillagerTom

Copy link
Copy Markdown
Contributor Author

怎么多了个 release_template.md? 我记得我没改过
图片

@VillagerTom

Copy link
Copy Markdown
Contributor Author

哦是因为 force-push, 有一个 commit 被撤掉了

@appshubcc

Copy link
Copy Markdown
Owner

当前版本再试一下行不行呢

@VillagerTom

Copy link
Copy Markdown
Contributor Author

当前版本再试一下行不行呢

4e0fbdb 这一条吗?
我发现 Arch Linux 上可以装 clang20 然后再在构建环境配置一下 PATH,就可以规避 原版 hotkey_manager 的问题。

@VillagerTom

Copy link
Copy Markdown
Contributor Author

当前版本再试一下行不行呢

构建成功
图片

@VillagerTom
VillagerTom force-pushed the build_refactor branch 9 times, most recently from d3fbafa to 0c905b8 Compare May 3, 2026 21:58
@VillagerTom
VillagerTom force-pushed the build_refactor branch 5 times, most recently from a5d28a5 to 00125cf Compare May 13, 2026 17:44
@VillagerTom VillagerTom changed the title [wip] 重构构建流程,使本地构建在非 Debian/Ubuntu 环境可用 重构构建流程,使本地构建在非 Debian/Ubuntu 环境可用 May 13, 2026
@VillagerTom
VillagerTom force-pushed the build_refactor branch 4 times, most recently from ba35a47 to ecfb580 Compare May 20, 2026 10:36
@VillagerTom
VillagerTom force-pushed the build_refactor branch 4 times, most recently from 681e51c to c5275d9 Compare May 27, 2026 16:24
@VillagerTom
VillagerTom marked this pull request as ready for review May 27, 2026 16:45
@VillagerTom
VillagerTom force-pushed the build_refactor branch 3 times, most recently from cac8388 to f7023fa Compare May 29, 2026 06:26
@VillagerTom VillagerTom closed this Jun 7, 2026
@VillagerTom

Copy link
Copy Markdown
Contributor Author

转移至 #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants