feat(build): 增加适用于 pacman 的分发目标#59
Open
okamitimo233 wants to merge 2 commits into
Open
Conversation
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 系 Linux 发行版用户新增 pacman 包构建。
主要变更:
electron-builder.config.ts"pacman"。pacman配置块,指定artifactName、libnotify、nss、libxss、libxtst、xdg-utils、at-spi2-core、libsecret。.github/workflows/dev.ymlUpload Linux Pacmanartifact 上传步骤。README.md/README.zh-CN.mdsudo pacman -U splayer-next-*-x64.pacman构建后
dist/中输出splayer-next-{version}-x64.pacman,latest-linux.yml会自动包含 pacman 条目,prepare-release-assets.cjs无需额外修改即可纳入发布。关联 Issue
无
测试情况
pnpm build:linux→ 成功产出dist/splayer-next-1.0.0-x64.pacmanpacman -Qip dist/splayer-next-1.0.0-x64.pacman→ 包信息解析正确,依赖清单完整sudo pacman -U dist/splayer-next-1.0.0-x64.pacman→ 安装成功截图 / 录屏
无(非 UI 改动)
自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.tsdev分支提交