amore-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAmore CLI
Amore CLI
Amore is a macOS app distribution platform. The CLI automates the entire workflow for publishing macOS apps outside the App Store: setup, code signing, notarization, DMG creation, Sparkle appcast generation, and upload — in a single command.
amoreRun or for the most up-to-date option details.
amore helpamore <command> --helpAmore是一个macOS应用分发平台。 CLI可自动化完成在App Store外发布macOS应用的全流程工作:设置、代码签名、公证、DMG创建、Sparkle appcast生成和上传——仅需一条命令。
amore运行或查看最新的选项详情。
amore helpamore <command> --helpInstallation
安装
The CLI ships inside the Amore macOS app. To use it:
- Download Amore from amore.computer/download
- Install the CLI via terminal:
Or install from within the app: go to Command Line settings and click Install.sh
/Applications/Amore.app/Contents/MacOS/AmoreCLI install
This creates a symlink at . If you get a permission error, run with .
/usr/local/bin/amoresudoImportant: The CLI currently requires Amore.app to be installed on the machine. It is not available as a standalone binary, so it cannot run on CI runners (like GitHub Actions) that don't have Amore.app. All commands are meant to be run on your local Mac.
amoreCLI附带在Amore macOS应用内。使用方式如下:
- 从amore.computer/download下载Amore
- 通过终端安装CLI:
或在应用内安装:前往命令行设置页面,点击安装。sh
/Applications/Amore.app/Contents/MacOS/AmoreCLI install
这会在位置创建一个符号链接。如果遇到权限错误,加上运行。
/usr/local/bin/amoresudo重要提示: 当前CLI要求设备上安装Amore.app才能使用。它不提供独立二进制文件,因此无法在未安装Amore.app的CI运行器(如GitHub Actions)上运行。所有命令都需要在你的本地Mac设备上运行。
amoreQuick Start
快速开始
sh
amore login # Sign in
amore setup MyApp.app # Register app, choose hosting, generate Sparkle keys
amore release --scheme MyApp # Build, sign, notarize, and publishsh
amore login # 登录账号
amore setup MyApp.app # 注册应用、选择托管方式、生成Sparkle密钥
amore release --scheme MyApp # 构建、签名、公证并发布Commands Overview
命令概览
| Command | Description |
|---|---|
| Sign in to your Amore account |
| Sign out |
| Create a new account |
| Show current user (use |
| Install CLI to |
| Remove CLI from |
| Show CLI setup status |
| Register a new app for distribution |
| Build, sign, notarize, and publish a release |
| List or delete apps |
| List, update, or delete releases |
| Manage licensing products (create, update, delete) |
| View or change per-app configuration |
| Create a DMG without uploading |
| Sign an archive with Ed25519 key |
| Verify an Ed25519 signature |
| Xcode archive post-action for automated releases |
| 命令 | 描述 |
|---|---|
| 登录你的Amore账号 |
| 登出账号 |
| 创建新账号 |
| 显示当前用户(使用 |
| 将CLI安装到 |
| 从 |
| 显示CLI设置状态 |
| 注册待分发的新应用 |
| 构建、签名、公证并发布版本 |
| 列出或删除应用 |
| 列出、更新或删除发布版本 |
| 管理许可产品(创建、更新、删除) |
| 查看或修改单应用配置 |
| 仅创建DMG文件不上传 |
| 用Ed25519密钥签名归档文件 |
| 验证Ed25519签名 |
| 用于自动化发布的Xcode归档后置动作 |
Core Workflows
核心工作流
Setting Up a New App
新应用设置
amore setup <path-to-app>- Choosing hosting: Amore (managed) or S3 (self-hosted)
- Generating or importing EdDSA Sparkle signing keys
- Configuring S3 credentials (if self-hosted)
For non-interactive setup (CI/agents), pass all options as flags. Read for the full flag list.
references/commands.mdamore setup <path-to-app>- 选择托管方式:Amore(托管版)或S3(自托管)
- 生成或导入EdDSA Sparkle签名密钥
- 配置S3凭证(如果选择自托管)
如需非交互式设置(CI/Agent),可将所有选项作为参数传入。完整参数列表可查看。
references/commands.mdReleasing
发布版本
amore release.app.dmg.zip.xcarchive.xcodeproj.xcworkspace- Archive/export (if given an Xcode project)
- Code sign with Developer ID
- Create DMG with drag-to-install experience
- Notarize with Apple
- Sign for Sparkle (Ed25519)
- Upload and update appcast.xml
Read for the full release pipeline details, CI/CD automation, and all flags.
references/release-workflow.mdamore release.app.dmg.zip.xcarchive.xcodeproj.xcworkspace- 归档/导出(如果输入是Xcode项目)
- 使用Developer ID进行代码签名
- 创建支持拖拽安装体验的DMG文件
- 向Apple提交公证
- 为Sparkle签名(Ed25519)
- 上传并更新appcast.xml
完整的发布流程详情、CI/CD自动化配置和所有参数可查看。
references/release-workflow.mdManaging Releases
版本管理
sh
amore releases list --bundle-id com.example.App
amore releases update <id> --bundle-id com.example.App --published true
amore releases delete <id> --bundle-id com.example.AppReleases support flags: , , , , .
--beta--critical--phased-rollout--published--release-notessh
amore releases list --bundle-id com.example.App
amore releases update <id> --bundle-id com.example.App --published true
amore releases delete <id> --bundle-id com.example.App版本支持以下参数:、、、、。
--beta--critical--phased-rollout--published--release-notesConfiguration
配置管理
Per-app settings are managed with :
amore configsh
amore config show --bundle-id com.example.App # Show all config
amore config show release --bundle-id com.example.App # Show release config only
amore config set release codesign-identity "Developer ID Application: You" --bundle-id com.example.App
amore config set s3 bucket my-bucket --bundle-id com.example.AppConfig sections: , , . Read for all fields.
releases3appreferences/commands.md单应用设置通过管理:
amore configsh
amore config show --bundle-id com.example.App # 显示所有配置
amore config show release --bundle-id com.example.App # 仅显示发布配置
amore config set release codesign-identity "Developer ID Application: You" --bundle-id com.example.App
amore config set s3 bucket my-bucket --bundle-id com.example.App配置分为、、三个部分。所有字段说明可查看。
releases3appreferences/commands.mdWhen to Consult Reference Files
何时查阅参考文档
Read these for deeper guidance on specific topics:
| Topic | Reference File | When to Read |
|---|---|---|
| Full command reference | | Looking up specific flags, arguments, or subcommands |
| Release pipeline | | Setting up CI/CD, troubleshooting releases, understanding the pipeline |
| S3 self-hosting | | Configuring S3/R2 buckets, credentials, appcast paths |
| Sparkle integration | | Adding Sparkle to a project, key management, sandboxing |
| Licensing & payments | | Setting up products, Stripe integration, payment flows |
如需特定主题的深入指导,可查看对应的参考文档:
| 主题 | 参考文件 | 适用场景 |
|---|---|---|
| 完整命令参考 | | 查询特定参数、变量或子命令时 |
| 发布流程 | | 设置CI/CD、排查发布问题、理解发布流程时 |
| S3自托管 | | 配置S3/R2存储桶、凭证、appcast路径时 |
| Sparkle集成 | | 为项目添加Sparkle、密钥管理、沙箱配置时 |
| 许可与支付 | | 设置产品、Stripe集成、支付流程时 |
Common Patterns
通用规则
Bundle ID is the primary identifier. Most commands that operate on an app require (or ).
--bundle-id-bInteractive vs non-interactive. Commands like and are interactive by default. Pass all required values as flags to skip prompts. Note: and are always interactive — there are no / flags.
setupreleaseloginregister--email--passwordLocal Mac only. The CLI requires Amore.app to be installed and runs on macOS only. It is not available as a standalone binary for CI/CD runners. If a user asks about CI/CD automation, explain this limitation and suggest using the Xcode post-archive action or running locally after building.
amore releaseS3 credentials. Can be provided via: CLI flags (, ), environment variables (, ), or the macOS keychain (configured during ).
--s3-access-key-id--s3-secret-access-keyAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYamore setupCodesigning prerequisites. DMG creation and notarization require a Developer ID Application certificate and a notarization keychain profile. Set these up once with .
amore config set releaseBack up your Sparkle private key. After generates your EdDSA signing key, store a copy in your password manager. If you lose it, existing users will not be able to verify future updates — there is no way to recover it.
amore setupBundle ID是主要标识符。 大多数针对应用操作的命令都需要传入(或)参数。
--bundle-id-b交互式与非交互式模式。 和等命令默认是交互式的。传入所有必填参数可跳过提示。注意:和始终是交互式的,没有/参数。
setupreleaseloginregister--email--password仅支持本地Mac运行。 CLI要求安装Amore.app,且仅能在macOS上运行。不提供适用于CI/CD运行器的独立二进制文件。如果用户询问CI/CD自动化相关问题,请说明该限制,建议使用Xcode归档后置动作,或在构建完成后本地运行。
amore releaseS3凭证。 可通过以下方式提供:CLI参数(、)、环境变量(、)或macOS钥匙串(在过程中配置)。
--s3-access-key-id--s3-secret-access-keyAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYamore setup代码签名前置要求。 DMG创建和公证需要Developer ID Application证书和公证钥匙串配置。可通过完成一次配置即可。
amore config set release备份Sparkle私钥。 生成EdDSA签名密钥后,请在密码管理器中存储一份备份。如果丢失密钥,现有用户将无法验证后续更新——且密钥无法恢复。
amore setup