Skip to content

Add a Linux x64 desktop build outside the Windows and macOS release gate - #102

Closed
cs-fisha wants to merge 1 commit into
ECNU:mainfrom
cs-fisha:linux-x64-build
Closed

cs-fisha wants to merge 1 commit into
ECNU:mainfrom
cs-fisha:linux-x64-build

Conversation

@cs-fisha

@cs-fisha cs-fisha commented Oct 4, 2026

Copy link
Copy Markdown

问题与修改

公版已经能构建 Windows 和 macOS 桌面包,还没有 Linux。这个 PR 补上 linux-x64:维护者手动触发工作流,得到一个便携 tar.gz。一份包面向 Ubuntu 22.04 以及更新的 glibc 系统。它不进入「Windows 与 macOS 都通过才能发布」的条件,也不启用在线更新。

验证

在 Ubuntu 24.04 x64 上执行 scripts/build-linux-x64.sh 0.4.1-dev.20261004.1:

  • 产物 EduWork-0.4.1-dev.20261004.1-linux-x64-electron.tar.gz,SHA256 fe568429f9429d17f03932039a7c951de39ce5696a99d4bfe014e4bffc6a1d37
  • 随包运行时检查通过:Node v24.18.0、Chromium 152.0.7977.8、Python 3.12.13、ffmpeg、whisper-cli
  • 在临时 GNOME 密钥环和 xvfb 下,桌面冒烟通过:官方协议页面起来,开发版更新保持关闭
  • node --test dsh-host/test/native-resources.test.mjs tests/desktop-build-plan.test.mjs:6 通过,1 跳过(Windows venv 用例)
  • node scripts/audit-eduwork-distribution.mjs --verify-receipt 通过

Ubuntu 23.10 及更新版本会拦住用户命名空间沙箱,启动脚本会补上 --no-sandbox。凭据使用已解锁的 GNOME 密钥环。

兼容性与后续事项

Windows 与 macOS 的发布条件不变。Linux 构建失败不会挡住现有发布。下载仍使用官方地址和 SHA256,跟随构建机上的 HTTPS_PROXY,脚本里没有写镜像。

Made with Cursor

…leases.

A maintainer can produce one portable tarball for Ubuntu 22.04 and newer, with online updates left disabled.
Copilot AI balanced review requested due to automatic review settings October 4, 2026 14:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cs-fisha

cs-fisha commented Oct 4, 2026

Copy link
Copy Markdown
Author

先收回这个请求。Linux 包先在校内仓库验证,通过后再提交。

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