You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
目的 / Purpose
响应代码审查(CR)建议,本项目需要更原生、更极客的安装体验。本 PR 构建了一套完整的全自动软件分发矩阵,包含系统级原生包管理器(Homebrew/Scoop/Debian)以及规范化至
scripts/目录的一键安装脚本。变更内容 / Changes
brews: 自动生成 macOS/Linux 的 Homebrew Formula。scoops: 自动生成 Windows 的 Scoop Manifest。nfpms: 直接将 Linux 产物打包为标准的.deb安装包。release.yml中新增TAP_GITHUB_TOKEN的环境变量注入,用于支持跨仓库推送(Cross-Repo Push)。scripts/install.sh与scripts/install.ps1,并新增.gitattributes锁定 LF 换行符。非常重要:在合并此 PR 并在主干打 Tag 发版前,请管理员务必完成以下基础设施配置,否则 CI 将会因为权限不足或找不到目标仓库而报错:
1024XEngineer组织下,新建两个公开的空仓库:homebrew-neocodescoop-bucketrepo权限的 Classic PAT (Personal Access Token)。Settings -> Secrets and variables -> Actions。TAP_GITHUB_TOKEN的 Secret,并将生成的 PAT 填入。测试说明 / How to Test
所有自动化逻辑均已在我的个人 Fork 仓库中完成真实发版测试。
.deb产物。scripts/下的脚本可正常完成下载与环境变量部署。我仅在Windows平台下进行了测试使用:

Closes #80