feat: 绿色便携包(多平台打包,无 OOB 裁剪) - #1
Merged
Merged
Conversation
Ship relocatable Octop-<plat>.zip via scripts/green (portable CPython, frozen uv.lock deps, Windows pywin32 DLL fix) and octop-portable.yml. No OOB overlay or product trimming; first run uses upstream setup. Co-authored-by: Harry <forcemeter@users.noreply.github.com>
forcemeter
marked this pull request as ready for review
August 25, 2026 10:43
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.
Summary
在最新
main(0.9.26)上加入绿色便携打包/运行能力,对应原先release/portable的绿包部分;不包含 OOB overlay、Sidebar/主题裁剪、commind provider 预种。绿包逻辑集中在
scripts/green/:python-build-standalone + 当前uv.lock冻结依赖 →Octop-<plat>.zip,通过launch.py(site.addsitedir+ Windows pywin32 DLL)启动。首启走上游 setup wizard。Target branch
develop(feature / fix — default)main(本仓库无feature/desktop-client;该分支在源工作区与main0.9.26 相同)Type of change
What landed
scripts/green/**:bootstrap / vendor-wheels / package / Linux Docker / Makefile / templates /verify_imports.py/ Electron 文档.github/workflows/octop-portable.yml:linux/darwin/windows × amd64/arm64pywintypes/pythoncomDLLdarwin-amd64/windows-arm64的cryptography==46.x(lock 仍以 49.x 为准).gitignore/green;tests/unit/test_green_launch.py未改
src/、dashboard/、pyproject.toml、uv.lock、根Makefile。Test plan
uv run pytest tests/unit/test_green_launch.py -q(3 passed)make all(2440 passed, 13 skipped, 31 deselected)本机未跑完整
make -f scripts/green/Makefile green(需下载 PBS,由octop-portable.yml覆盖六平台)。Checklist
CHANGELOG.md(if user-facing)scripts/green/README.md)